Skip to content

Commit

Permalink
chore(all): trying to fix deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dsebastien committed Oct 11, 2024
1 parent 6df299e commit 3ef8e6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
# Create and switch to a new branch before the deployment
# This is necessary because the production branch is protected
- run: |
git checkout production
git checkout -b deploy-${GITHUB_SHA}
git push --set-upstream origin deploy-${GITHUB_SHA}
- uses: nrwl/nx-set-shas@v4
Expand All @@ -53,7 +54,7 @@ jobs:
# Clean up the temporary deployment branch
- run: |
git checkout main
git checkout production
git branch -D deploy-${GITHUB_SHA}
git push origin --delete deploy-${GITHUB_SHA}
shell: bash
Expand Down

0 comments on commit 3ef8e6f

Please sign in to comment.