diff options
| author | FangcatChina <f20091219@outlook.com> | 2026-07-25 15:28:48 +0000 |
|---|---|---|
| committer | FangcatChina <f20091219@outlook.com> | 2026-07-25 15:28:48 +0000 |
| commit | cfa6d6cd7bc6725349e1937959f6b52a5494ed20 (patch) | |
| tree | f41d429265b90ac97e9c03457f79bfd7e3f0a7a4 /.github/workflows | |
| parent | DE Install Method (diff) | |
Sync Webhook
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/sync_to_gitea.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/sync_to_gitea.yml b/.github/workflows/sync_to_gitea.yml new file mode 100644 index 0000000..b42a7d2 --- /dev/null +++ b/.github/workflows/sync_to_gitea.yml @@ -0,0 +1,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 }}"
\ No newline at end of file |
