diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index faf395e..622742d 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -127,16 +127,22 @@ jobs: run: | echo "## Do not edit this file directly. It is auto-generated by the script." > argocd/deployment/deployment.yml sed "s|__TAG__|${{ gitea.ref_name }}|g" argocd/template/deployment.yml >> argocd/deployment/deployment.yml - - - name: 💾 ✅ Commit Updated Manifest - uses: EndBug/add-and-commit@v9 - with: - new_branch: release/${{ gitea.ref_name }}-deploy - add: argocd/deployment/deployment.yml - author_name: "GitHub Action 🤖" - author_email: gitia@siteworxpro.com - message: "📝🔄 Update deployment manifest with new image tags" +# +# - name: 💾 ✅ Commit Updated Manifest +# uses: EndBug/add-and-commit@v9 +# with: +# new_branch: release/${{ gitea.ref_name }}-deploy +# add: argocd/deployment/deployment.yml +# author_name: "GitHub Action 🤖" +# author_email: gitia@siteworxpro.com +# message: "📝 🔄 Update deployment manifest with new image tags" - name: 🚀 ✨ Create Pull Request id: cpr - uses: peter-evans/create-pull-request@v7 \ No newline at end of file + uses: peter-evans/create-pull-request@v7 + with: + add-paths: argocd/deployment/deployment.yml + title: "🚀 ✨ Release ${GITHUB_REF_NAME} - Deploy" + branch: release/${{ gitea.ref_name }}-deploy + committer: "Gitea Action 🤖 " + body: "📝 🔄 Update deployment manifest with new image tags for release ${GITHUB_REF_NAME}" \ No newline at end of file