aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/sync_to_gitea.yml.disabled
blob: b42a7d27961775da5eb9bcb2127a55f125f81b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
name: Sync to Gitea
on:
  push:
    branches: [ main ]

jobs:
  sync:
    runs-on: ubuntu-latest
    steps:
      - name: Trigger Gitea mirror sync
        env:
          GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
        run: |
          curl -X POST \
            "https://git.13-trixie.top/api/v1/repos/LinuxCabin/linux-handbook/mirror-sync?token=${{ secrets.GITEA_TOKEN }}"