From 8fab21bc255a0a668c4c668cc8c929d32fb58e2d Mon Sep 17 00:00:00 2001 From: suyiiyii Date: Sun, 25 Aug 2024 11:39:21 +0800 Subject: [PATCH] Merge pull request #20 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(github): 创建gitea-sync.yml工作流 --- .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..2672a40 --- /dev/null +++ b/.github/workflows/gitea-sync.yml @@ -0,0 +1,16 @@ +name: gitea-sync.yml +on: + push: + branches: [ "*" ] + 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 }}'' +