Federated via graft
391 B
17 lines
1name: push-github
2on:
3 push:
4 branches: [main]
5
6jobs:
7 mirror:
8 runs-on: linux-host
9 steps:
10 - uses: actions/checkout@v4
11 with:
12 fetch-depth: 0
13 - name: push to GitHub
14 run: |
15 set -e
16 git remote add github https://x-access-token:${{ secrets.GH_PUSH_TOKEN }}@github.com/jeanbaptiste/graft.git
17 git push github HEAD:main