mirror of
https://github.com/SwingTheVine/Wplace-BlueMarble.git
synced 2026-05-07 00:09:43 +00:00
Attempting to fix workflow bug
This commit is contained in:
parent
73776fe86e
commit
12d8a69e4d
1 changed files with 6 additions and 7 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
||||
Loading…
Reference in a new issue