5
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2025-11-07 18:56:56 +00:00

fix(branch v1): push updates to v1 branch after releases(#1)

This commit is contained in:
cycjimmy 2019-10-19 06:29:19 +08:00
parent a49898a4d7
commit bb964eb28e

View file

@ -60,3 +60,9 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Push updates to branch v1
if: steps.semantic.outputs.new-release-published == 'true'
run: "git push https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:refs/heads/v1"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}