diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b4de9a8..21733fb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 \ No newline at end of file + git push + \ No newline at end of file