Skip to content

Commit d7d30bc

Browse files
committed
fix: perform a force push on pi_release
1 parent f7740d6 commit d7d30bc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pi_release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ jobs:
6363
git config user.email "[email protected]"
6464
git config user.name "GitHub Actions"
6565
66-
git checkout -b "$HEAD_REF" || git checkout "$HEAD_REF"
67-
git pull origin "$HEAD_REF"
66+
git branch -D "$HEAD_REF" || true
67+
git checkout -b "$HEAD_REF"
6868
6969
git add ${{ env.DOCKERFILE }}
7070
git commit -m "$PR_TITLE" || true
71-
git push origin "$HEAD_REF"
71+
git push --force origin "$HEAD_REF"
7272
echo "::notice::${{ matrix.app }} updated to $LATEST_IMAGE_TAG"
7373
7474
bash cicd-deployment-scripts/pi/pr_create.sh \

0 commit comments

Comments
 (0)