From 65c3ed655ffd891ffdadfef826f440ca923ef4f8 Mon Sep 17 00:00:00 2001 From: suyiiyii Date: Sun, 25 Aug 2024 12:19:16 +0800 Subject: [PATCH] =?UTF-8?q?feat(github-actions):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E5=88=B0Gitea=E4=BB=93=E5=BA=93=E7=9A=84?= =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gitea-sync.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/gitea-sync.yml diff --git a/.github/workflows/gitea-sync.yml b/.github/workflows/gitea-sync.yml new file mode 100644 index 0000000..187eea0 --- /dev/null +++ b/.github/workflows/gitea-sync.yml @@ -0,0 +1,16 @@ +name: gitea-sync.yml +on: + push: + branches: [ "main", "manifest" ] + workflow_dispatch: + + +jobs: + trigger-gitea-sync: + runs-on: ubuntu-latest + steps: + - name: Trigger Gitea sync + run: | + echo "Triggering Gitea sync" + curl 'https://git.suyiiyii.top/api/v1/repos/ssyg/SIMS/mirror-sync' -X POST -H 'Authorization: token ${{ secrets.GITEATOKEN }}' +