From ac89c2855217c8d44ab9a585cb36ef1885bf7369 Mon Sep 17 00:00:00 2001 From: FangcatChina Date: Fri, 31 Jul 2026 14:33:20 +0800 Subject: Merge #16, migrate Actions to GIthub --- .github/workflows/sync_to_gitea.yml.disabled | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/sync_to_gitea.yml.disabled (limited to '.github/workflows/sync_to_gitea.yml.disabled') 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 -- cgit v1.3