Skip to content

Commit

Permalink
Update run-sync-script.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
BaseMax authored Jan 13, 2025
1 parent 29c2e8e commit bff338d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/run-sync-script.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ jobs:
git config --global user.name "Max Base (GitHub Actions)"
git config --global user.email "$EMAIL"
git checkout -b auto-sync-update
git checkout -b auto-sync-update || git checkout auto-sync-update
git pull origin auto-sync-update || echo "Branch does not exist on remote, skipping pull."
git add -A
git commit -m "Auto-sync: Update after running sync.py script"
git commit -m "Auto-sync: Update after running sync.py script" || echo "No changes to commit."
git push https://x-access-token:${{ secrets.USER_TOKEN }}@github.com/${{ github.repository }}.git auto-sync-update
Expand Down

0 comments on commit bff338d

Please sign in to comment.