Skip to content

Commit

Permalink
chore: Update prod branch on release (#39)
Browse files Browse the repository at this point in the history
* To trigger a new netlify deploy, update prod from main on release.
  • Loading branch information
petejohanson authored Oct 2, 2024
1 parent e5877ed commit 69b7b05
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,13 @@ jobs:
with:
token: ${{ secrets.ZMK_STUDIO_RELEASE_TOKEN }}
release-type: node
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
args:
ref: prod
- name: publish to prod branch
if: ${{ steps.release.outputs.release_created }}
run: |
git pull --ff-only main
git remote set-url origin "https://x-access-token:${{ secrets.ZMK_STUDIO_RELEASE_TOKEN }}@github.com/${{ github.repository }}.git"
git push

0 comments on commit 69b7b05

Please sign in to comment.