about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorfox <fox@fakecake.org>2026-06-14 11:31:32 +0300
committerfox <fox@fakecake.org>2026-06-14 11:31:32 +0300
commit925b9d748d53d1d8d85c3b22905aa52958623eb3 (patch)
treecb65c67568871bdbed49611c61e4aba9f33fd971
parentecc227d0c281d7211da1cbc6d73d80001a6cb5b3 (diff)
parent738ba7eaffa89eb1e8b345fbae2d0e164cb7a9b7 (diff)
downloadtt-rss-android-925b9d748d53d1d8d85c3b22905aa52958623eb3.tar.gz
tt-rss-android-925b9d748d53d1d8d85c3b22905aa52958623eb3.tar.xz
Merge branch 'dev' into 'master'
add codeberg job

See merge request git/tt-rss/tt-rss-android!75
-rw-r--r--.gitlab-ci.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index eb1b10a3..8f89e915 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,3 +14,16 @@ weblate-integration-auto-mr:
       CI_COMMIT_REF_NAME=${CI_COMMIT_REF_NAME}
       GITLAB_USER_ID=${GITLAB_USER_ID}
       PRIVATE_TOKEN=${AUTO_MR_TOKEN} ./utils/autoMergeRequest.sh
+
+deploy-codeberg:
+  image: ${INFRA_IMAGE}
+  stage: deploy
+  script:
+    - git config --global safe.directory "*"
+    - git config --global http.proxy "${INFRA_HTTPS_PROXY}"
+    - git config --global https.proxy "${INFRA_HTTPS_PROXY}"
+    - git remote add codeberg "https://x-access-token:${CODEBERG_PUSH_TOKEN}@codeberg.org/cthulhoo/tt-rss-android.git"
+    - git push codeberg "HEAD:${CI_COMMIT_BRANCH}"
+  rules:
+    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CODEBERG_PUSH_TOKEN != null
+    - if: $CI_COMMIT_BRANCH == "dev" && $CODEBERG_PUSH_TOKEN != null