diff --git a/.github/workflows/deployPR.yml b/.github/workflows/deployPR.yml index 1b7c4d3eac..9ddb004588 100644 --- a/.github/workflows/deployPR.yml +++ b/.github/workflows/deployPR.yml @@ -61,7 +61,7 @@ jobs: for attempt in 1 2 3 4 5; do git fetch origin - if git push origin "$PR_SHA:refs/heads/$PREVIEW_BRANCH" --force; then + if git push --force --no-force-with-lease origin "$PR_SHA:refs/heads/$PREVIEW_BRANCH"; then echo "Push succeeded on attempt $attempt" break fi