Skip to content

Commit

Permalink
chore (deploy): adding automatic push for release tag and a "releases…
Browse files Browse the repository at this point in the history
…" branch cut for easy git diffs
  • Loading branch information
mmaietta committed Sep 12, 2021
1 parent a9ec90d commit f4c2a19
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pr-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,15 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}


- name: Push release version tag
if: steps.changesets.outputs.published == 'true'
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git push --follow-tags
git push origin releases
- name: Deploy Documentation
uses: netlify/actions/build@master
if: steps.changesets.outputs.published == 'true'
Expand Down

0 comments on commit f4c2a19

Please sign in to comment.