From 8514d3f0c6f2bf38a577e1243cc39607de58e599 Mon Sep 17 00:00:00 2001 From: tomsmith8 Date: Wed, 1 Apr 2026 12:21:41 +0000 Subject: [PATCH 1/2] Generated with Hive: Fix deploy preview branch update by forcing git push with plus sign --- .github/workflows/deployPR.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deployPR.yml b/.github/workflows/deployPR.yml index ac9cf53c4e..66170cd937 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 origin "+$PR_SHA:refs/heads/$PREVIEW_BRANCH"; then echo "Push succeeded on attempt $attempt" break fi From 6162767189ff234c725d33f943e623bdd9506905 Mon Sep 17 00:00:00 2001 From: tomsmith8 Date: Wed, 1 Apr 2026 13:48:42 +0000 Subject: [PATCH 2/2] Generated with Hive: Fix deploy preview CI by forcing push without lease --- .github/workflows/deployPR.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deployPR.yml b/.github/workflows/deployPR.yml index 66170cd937..94a7d0e0ac 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"; 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