Skip to content

Commit df6e7c7

Browse files
committed
CI: Fix git config in publish workflow
1 parent c1552a9 commit df6e7c7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/netlify-deploy-release.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,17 @@ jobs:
2121
- name: Install dependencies
2222
run: yarn
2323

24-
- name: Up version
25-
run: yarn version --new-version ${{ github.event.release.tag_name }}
26-
24+
# Note: it's important that this is being run before the version is upped
25+
# because a commit will be created during the process
2726
- name: Set git config
2827
run: |
2928
# setup the username and email.
3029
git config user.name "GitHub Actions Bot"
3130
git config user.email "<>"
3231
32+
- name: Up version
33+
run: yarn version --new-version ${{ github.event.release.tag_name }}
34+
3335
- name: Set remote url with github token
3436
run: git remote set-url origin https://${{ secrets.ACTION_GITHUB_BOT }}@github.com/on3iro/aeons-end-randomizer
3537

0 commit comments

Comments
 (0)