From f4c2a19778c6d95c98fd018b2c7397b77b91f31d Mon Sep 17 00:00:00 2001 From: Mike Date: Sat, 11 Sep 2021 20:42:15 -0700 Subject: [PATCH] chore (deploy): adding automatic push for release tag and a "releases" branch cut for easy git diffs --- .github/workflows/pr-release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-release.yml b/.github/workflows/pr-release.yml index 3d320c47280..e5021f8b2b1 100644 --- a/.github/workflows/pr-release.yml +++ b/.github/workflows/pr-release.yml @@ -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'