Skip to content

Commit

Permalink
Merge pull request #98 from scssyworks/feature/ver4
Browse files Browse the repository at this point in the history
Workflow updates
  • Loading branch information
scssyworks authored Jul 20, 2022
2 parents bc8e8c7 + c141836 commit 541b66b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- run: git commit -am "[Automated Message] Published latest version to NPM"
- run: git push origin HEAD:master
- run: git checkout master
- run: git checkout -b rc-${{github.event.release.tag_name}}
- run: git commit -am "Published version ${{github.event.release.tag_name}}"
- run: git push origin HEAD:rc-${{github.event.release.tag_name}}
env:
github-token: ${{secrets.GITHUB_TOKEN}}
- name: Deploy
Expand Down

0 comments on commit 541b66b

Please sign in to comment.