We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7740d6 commit d7d30bcCopy full SHA for d7d30bc
.github/workflows/pi_release.yml
@@ -63,12 +63,12 @@ jobs:
63
git config user.email "[email protected]"
64
git config user.name "GitHub Actions"
65
66
- git checkout -b "$HEAD_REF" || git checkout "$HEAD_REF"
67
- git pull origin "$HEAD_REF"
+ git branch -D "$HEAD_REF" || true
+ git checkout -b "$HEAD_REF"
68
69
git add ${{ env.DOCKERFILE }}
70
git commit -m "$PR_TITLE" || true
71
- git push origin "$HEAD_REF"
+ git push --force origin "$HEAD_REF"
72
echo "::notice::${{ matrix.app }} updated to $LATEST_IMAGE_TAG"
73
74
bash cicd-deployment-scripts/pi/pr_create.sh \
0 commit comments