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