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