This commit is contained in:
M M Arif
2025-06-18 14:11:41 +05:00
parent 995b285168
commit 4cc1db9165
+2 -2
View File
@@ -89,8 +89,8 @@ steps:
# If files have changed, create a new commit and push it to the branch this pipeline was started on
- >
if git commit --message "$${GIT_COMMIT_MESSAGE}"; then
git remote set-url origin "https://$${GITEA_TOKEN}@$${GITEA_HOST}/$${GITEA_REPOSITORY}"
git push origin "$${GITEA_BRANCH}"
git remote set-url origin "https://$${GITEA_HOST}/$${GITEA_REPOSITORY}"
git -c http.extraHeader="Authorization: Basic $${GITEA_TOKEN}" push origin "$${GITEA_BRANCH}"
fi
when:
branch: main