mirror of
https://codeberg.org/gitnex/tea4j-autodeploy
synced 2026-05-31 07:01:55 +00:00
Merge pull request 'Revert' (#35) from add-endpoint into main
Reviewed-on: https://codeberg.org/gitnex/tea4j-autodeploy/pulls/35
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user