Skip to content

Commit 81ac430

Browse files
author
mbarber
committed
test
1 parent 2eaa293 commit 81ac430

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/s3.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ jobs:
2020
- name: Create and push tag if on prod branch
2121
if: github.ref == 'refs/heads/prod'
2222
run: |
23-
git fetch
24-
VERSION=$(poetry version -s)
2523
git config --local user.email "[email protected]"
2624
git config --local user.name "GitHub Action"
25+
git remote set-url origin https://${{secrets.GITHUB_TOKEN}}@github.com/${{github.repository}}
26+
VERSION=$(poetry version -s)
2727
git tag $VERSION
28-
git push https://${{secrets.GITHUB_TOKEN}}@github.com/${{github.repository}}.git $VERSION
28+
git push origin $VERSION
2929
3030
- name: Create and push test tag if on test branch
3131
if: github.ref == 'refs/heads/test'
3232
run: |
33-
git fetch
3433
git config --local user.email "[email protected]"
3534
git config --local user.name "GitHub Action"
35+
git remote set-url origin https://${{secrets.GITHUB_TOKEN}}@github.com/${{github.repository}}
3636
git tag testvers
37-
git push https://${{secrets.GITHUB_TOKEN}}@github.com/${{github.repository}}.git testvers
37+
git push origin testvers
3838
3939
- name: Install Pandoc
4040
run: |

bin/act

15.2 MB
Binary file not shown.

0 commit comments

Comments
 (0)