Skip to content

Commit

Permalink
Stash before checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
carlssonk committed Sep 24, 2024
1 parent 73542e7 commit 407b453
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ jobs:
git config user.name github-actions
git config user.email [email protected]
git stash
if git ls-remote --exit-code --heads origin ${{ env.branch_name }} >/dev/null 2>&1; then
git fetch --all
git checkout ${{ env.branch_name }}
Expand Down

0 comments on commit 407b453

Please sign in to comment.