aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/sync_to_gitea.yml.disabled
diff options
context:
space:
mode:
authorFangcatChina <f20091219@outlook.com>2026-07-31 06:33:20 +0000
committerFangcatChina <f20091219@outlook.com>2026-07-31 06:33:20 +0000
commitac89c2855217c8d44ab9a585cb36ef1885bf7369 (patch)
treed6797c057c5ec926ae2b51107ea6a365996e8a1b /.github/workflows/sync_to_gitea.yml.disabled
parentMerge pull request #16 from IridiumNan/main (diff)
Merge #16, migrate Actions to GIthub
Diffstat (limited to '.github/workflows/sync_to_gitea.yml.disabled')
-rw-r--r--.github/workflows/sync_to_gitea.yml.disabled15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/sync_to_gitea.yml.disabled b/.github/workflows/sync_to_gitea.yml.disabled
new file mode 100644
index 0000000..b42a7d2
--- /dev/null
+++ b/.github/workflows/sync_to_gitea.yml.disabled
@@ -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