fix: Mirror-Action trigger nur auf release-Branch (kein Auto-Deploy von main)

This commit is contained in:
Rhino
2026-06-20 20:23:46 +02:00
parent 2ce45c9bb6
commit 29a47a758b
+6 -3
View File
@@ -1,8 +1,11 @@
name: Mirror to Public Gitea (updates.rhino.nrw)
# Trigger: Nur wenn explizit auf den 'release'-Branch gepusht wird.
# Das stellt sicher, dass nur geprüfte, validierte Stände ausgeliefert werden.
# Workflow auf main: git push origin main:release
on:
push:
branches: [main]
branches: [release]
jobs:
mirror:
@@ -13,7 +16,7 @@ jobs:
with:
fetch-depth: 0
- name: Push mirror to Public Gitea
- name: Push mirror to Public Gitea (als 'main')
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
git push public HEAD:main --force