Skip to content

Commit

Permalink
chore: Fixes for prod push for releases. (#45)
Browse files Browse the repository at this point in the history
* Fetch the main branch, and properly pull the main into prod.

Release-As: 0.0.3
  • Loading branch information
petejohanson authored Oct 2, 2024
1 parent 10a5ee8 commit 6e05f49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: publish to prod branch
if: ${{ steps.release.outputs.release_created }}
run: |
git pull --ff-only main
git fetch origin main
git pull --ff-only origin 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 6e05f49

Please sign in to comment.