mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-11 12:00:38 +00:00
Fix config and push line for git
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user