From ba707702120eddeecf79727d2deccc17105d8c30 Mon Sep 17 00:00:00 2001 From: LeoR156 <277007013+LeoR156@users.noreply.github.com> Date: Sun, 13 Sep 2026 21:18:26 +0500 Subject: [PATCH] Update CI/CD --- .gitlab-ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2dd702c..675675c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -113,15 +113,12 @@ mirror_to_gitea: entrypoint: [""] stage: .post variables: - GIT_DEPTH: 1 GIT_STRATEGY: clone script: - git config user.name "GitLab CI/CD" - git config user.email "ci@leor156.online" - - git branch -D showcase || true - - git checkout --orphan showcase - git add -A - git commit -m "Showcase update - ${CI_COMMIT_SHORT_SHA}" - git remote add gitea https://leo:$GITEA_TOKEN@gitea.leor156.online/leo/quote_bot_auto-deployment.git - - git push gitea showcase:main --force - when: on_success + - git push gitea HEAD:main --force + when: on_success \ No newline at end of file