Update Github mirror workflow
Some checks failed
Mirror to GitHub / mirror (push) Failing after 3s

This commit is contained in:
2026-04-14 22:49:20 +00:00
parent d6d0e9f3c1
commit 2a2b770405

View File

@@ -4,9 +4,6 @@ on:
push:
branches:
- '**'
delete:
branches:
- '**'
jobs:
mirror:
@@ -14,6 +11,8 @@ jobs:
steps:
- name: Push to GitHub
run: |
cd /tmp
git clone --mirror https://gitea.resolutionflow.com/chihlasm/resolutionflow.git repo
cd repo
git remote add github https://x-access-token:${{ secrets.GH_MIRROR_TOKEN }}@github.com/${{ secrets.GH_MIRROR_REPO }}
git push github --all --force
git push github --tags --force
git push github --mirror --force