From 3c25df87987be54bbfcea3639ad30a80171b4884 Mon Sep 17 00:00:00 2001 From: M M Arif Date: Wed, 18 Jun 2025 13:32:59 +0500 Subject: [PATCH] Fix CI script --- .woodpecker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index cef0724..07d5e82 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_USERNAME}:$${GITEA_TOKEN}@$${GITEA_HOST}/$${GITEA_REPOSITORY}" - git push origin "$${GITEA_BRANCH}" + git remote set-url origin "https://$${GITEA_HOST}/$${GITEA_REPOSITORY}" + git push -c http.extraHeader="Authorization: Basic $${GITEA_TOKEN}" origin "$${GITEA_BRANCH}" fi when: branch: main