Files
resolutionflow/.gitea/workflows/mirror-to-github.yml
Michael Chihlas 2a2b770405
Some checks failed
Mirror to GitHub / mirror (push) Failing after 3s
Update Github mirror workflow
2026-04-14 22:49:20 +00:00

18 lines
462 B
YAML

name: Mirror to GitHub
on:
push:
branches:
- '**'
jobs:
mirror:
runs-on: ubuntu-latest
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 --mirror --force