Fix config and push line for git

This commit is contained in:
M M Arif
2025-06-18 13:46:32 +05:00
parent 3c25df8798
commit ab3fbdb867
+1 -1
View File
@@ -90,7 +90,7 @@ steps:
- >
if git commit --message "$${GIT_COMMIT_MESSAGE}"; then
git remote set-url origin "https://$${GITEA_HOST}/$${GITEA_REPOSITORY}"
git push -c http.extraHeader="Authorization: Basic $${GITEA_TOKEN}" origin "$${GITEA_BRANCH}"
git -c http.extraHeader="Authorization: Basic ${GITEA_TOKEN}" push origin "${GITEA_BRANCH}"
fi
when:
branch: main