mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-06-10 11:37:35 +00:00
Merge pull request 'Fix config and push line for git' (#32) from add-endpoint into main
Reviewed-on: https://codeberg.org/gitnex/tea4j-autodeploy/pulls/32
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