diff --git a/.woodpecker.yml b/.woodpecker.yml index 3428405..c09839e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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