From edd6acc153bd88215fee3989a6ca7ba7a2106846 Mon Sep 17 00:00:00 2001 From: LeoR156 <277007013+LeoR156@users.noreply.github.com> Date: Sun, 13 Sep 2026 15:21:31 +0500 Subject: [PATCH] Add gitea repo --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f818796..1ee7cc5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -106,3 +106,18 @@ notify_failure: variables: MESSAGE: $MSG_FAILURE when: on_failure + +mirror_to_gitea: + image: alpine/git:latest + stage: .post + variables: + GIT_DEPTH: 1 + script: + - git config user.name "GitLab CI/CD" + - git config user.email "ci@leor156.online" + - 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