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:
M M Arif
2025-06-18 11:12:32 +02:00
+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 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 if git commit --message "$${GIT_COMMIT_MESSAGE}"; then
git remote set-url origin "https://$${GITEA_TOKEN}@$${GITEA_HOST}/$${GITEA_REPOSITORY}" git remote set-url origin "https://$${GITEA_HOST}/$${GITEA_REPOSITORY}"
git push origin "$${GITEA_BRANCH}" git -c http.extraHeader="Authorization: Basic $${GITEA_TOKEN}" push origin "$${GITEA_BRANCH}"
fi fi
when: when:
branch: main branch: main