You've already forked reloading-manager
🚀 Update push command in CI workflow for release branch
Modified the push command in the CI workflow to correctly target the release branch for deployment. This ensures that changes are pushed to the appropriate branch, enhancing the deployment process.
This commit is contained in:
@@ -127,7 +127,7 @@ jobs:
|
|||||||
git add -f "argocd/deployment/*" || true
|
git add -f "argocd/deployment/*" || true
|
||||||
git checkout -b release/${{ gitea.ref_name }}-deploy || git checkout release/${{ gitea.ref_name }}-deploy
|
git checkout -b release/${{ gitea.ref_name }}-deploy || git checkout release/${{ gitea.ref_name }}-deploy
|
||||||
git commit -m "Build Auto Commit" || echo "No changes to commit"
|
git commit -m "Build Auto Commit" || echo "No changes to commit"
|
||||||
git push origin HEAD:${{ gitea.ref_name }} -o ci.skip || echo "No changes to push"
|
git push origin release/${{ gitea.ref_name }} -o ci.skip || echo "No changes to push"
|
||||||
|
|
||||||
- name: 🚀 ✨ Create Pull Request
|
- name: 🚀 ✨ Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v7
|
uses: peter-evans/create-pull-request@v7
|
||||||
@@ -139,4 +139,4 @@ jobs:
|
|||||||
title: "🚀 ✨ Release ${GITHUB_REF_NAME} - Deploy"
|
title: "🚀 ✨ Release ${GITHUB_REF_NAME} - Deploy"
|
||||||
branch: release/${{ gitea.ref_name }}-deploy
|
branch: release/${{ gitea.ref_name }}-deploy
|
||||||
committer: "Gitea Action 🤖 <gitia@siteworxpro.com>"
|
committer: "Gitea Action 🤖 <gitia@siteworxpro.com>"
|
||||||
body: "📝 🔄 Update deployment manifest with new image tags for release ${GITHUB_REF_NAME}"
|
body: "📝 🔄 Update deployment manifest with new image tags for release ${{ gitea.ref_name }}"
|
||||||
Reference in New Issue
Block a user