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
committerIridiumNan <2930416610@qq.com>2026-08-01 13:31:50 +0000
commit93f676c92132b50fd7ecc32aac05442fd2916018 (patch)
tree2f5ffc2f78e34f8e0dfd38cc853016ebd7313ec7 /.github/workflows/sync_to_gitea.yml.disabled
parentFix the vim key map explanation and add ssh connection guidance for (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