feat(Vim Motion): add motion B; refactor motion W #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync to textMain repo | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'app/src/main/**' # Only trigger on changes in this directory | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout text repo | |
uses: actions/checkout@v2 | |
with: | |
path: text | |
- name: Checkout textMain repo | |
uses: actions/checkout@v2 | |
with: | |
repository: IMOitself/textMain | |
token: ${{ secrets.PAT_TOKEN }} | |
path: textMain | |
- name: Sync changes | |
run: | | |
# Get the latest commit message | |
cd text | |
COMMIT_MSG=$(git log -1 --pretty=%B) | |
cd .. | |
# Sync changes | |
cd textMain | |
rm -rf * | |
cp -R ../text/app/src/main/* . | |
git config user.name IMO-AndroidStudio | |
git config user.email russjonn@gmail.com | |
git add . | |
git commit -m "$COMMIT_MSG" || echo "No changes to commit" | |
git push |