This commit is contained in:
2026-01-13 00:57:02 +05:00
parent 1cfb0c55a8
commit 8b06d65d4d
7 changed files with 200 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
name: Sync Gitea Mirror on Push
on:
push:
branches:
- main
jobs:
sync-mirror:
runs-on: ubuntu-latest
steps:
- name: Trigger Gitea Mirror Sync
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.SAR_GITEA_TOKEN }}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
https://git.shihaam.dev/api/v1/repos/${{ vars.SAR_GITEA_REPO_OWNER }}/${{ vars.SAR_GITEA_REPO_NAME }}/mirror-sync