Merge pull request #20

* feat(github): 创建gitea-sync.yml工作流
This commit is contained in:
suyiiyii 2024-08-25 11:39:21 +08:00 committed by GitHub
parent 7a4e9adb29
commit 8fab21bc25
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

16
.github/workflows/gitea-sync.yml vendored Normal file
View File

@ -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 }}''