Attempting to fix workflow bug

This commit is contained in:
SwingTheVine 2025-07-23 20:25:10 -04:00
parent 73776fe86e
commit 12d8a69e4d

View file

@ -29,14 +29,13 @@ jobs:
npm version minor --no-git-tag-version
node update-version.js
- name: Set up GitHub token for pushing
run: |
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
- name: Commit and push built script
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add dist/*.user.js
git add BlueMarble.meta.js
git add package.json
git commit -m "ci: build and deploy userscript [skip ci]" || echo "No changes to commit"
git push
git push