ci: add mirror action to public Gitea
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user