Merge pull request #11 from LiteyukiStudio/codex/fix-session-list-switch #74
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Gitea Sync Trigger | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| env: | |
| GITEA_URL: https://git.liteyuki.org | |
| GITEA_OWNER: liteyuki-docker | |
| GITEA_REPO: agent | |
| jobs: | |
| gitea-trigger: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Trigger Gitea Mirror Sync | |
| run: | | |
| curl -X POST \ | |
| -H "Content-Type: application/json" \ | |
| -H "Authorization: token ${{ secrets.GITEA_TOKEN }}" \ | |
| "${{ env.GITEA_URL }}/api/v1/repos/${{ env.GITEA_OWNER }}/${{ env.GITEA_REPO }}/mirror-sync" \ | |
| -d '{"branch": "main"}' |