From 0c5015f1760d0beaaad7a9d5d162ef9d9af66553 Mon Sep 17 00:00:00 2001 From: Rhino <1+rhino@noreply.gitea.rhino.nrw> Date: Sat, 20 Jun 2026 19:14:59 +0200 Subject: [PATCH] ci: add mirror action to public Gitea --- .gitea/workflows/mirror-to-public.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/mirror-to-public.yml diff --git a/.gitea/workflows/mirror-to-public.yml b/.gitea/workflows/mirror-to-public.yml new file mode 100644 index 0000000..2aa1087 --- /dev/null +++ b/.gitea/workflows/mirror-to-public.yml @@ -0,0 +1,19 @@ +name: Mirror to Public Gitea (updates.rhino.nrw) + +on: + push: + branches: [main] + +jobs: + mirror: + runs-on: ubuntu-latest + steps: + - name: Checkout (full history) + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Push mirror to Public Gitea + run: | + git remote add public "http://rhino:${{ secrets.PUBLIC_GITEA_TOKEN }}@172.30.0.4:3053/rhino/StatusQuo_Updates.git" + git push public main --force