SIMS/.github/workflows/gitea-sync.yml
suyiiyii 2734fb2227
Some checks are pending
Docker / build (push) Waiting to run
gitea-sync.yml / trigger-gitea-sync (push) Waiting to run
Java CI with Maven / build (push) Waiting to run
Update gitea-sync.yml
2024-08-25 11:42:46 +08:00

17 lines
384 B
YAML

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