Files
resolutionflow/.gitea/workflows/mirror-to-github.yml
Michael Chihlas ab4bf3b32f
Some checks failed
Mirror to GitHub / mirror (push) Failing after 42s
Add GitHub mirror workflow
2026-04-14 22:31:37 +00:00

24 lines
503 B
YAML

name: Mirror to GitHub
on:
push:
branches:
- '**'
delete:
branches:
- '**'
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Push to GitHub
run: |
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