ci-pipelines/.forgejo/workflows/continuwuity-trigger.yaml
ember 2522197664
Some checks failed
Trigger FluffyChat CI Pipeline / dispatch (push) Has been cancelled
sync: add continuwuity-trigger.yaml from wavecat repo
2026-03-17 13:10:52 +00:00

18 lines
578 B
YAML

name: Trigger CI Pipeline
on:
push:
branches:
- deployment
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Trigger build in ci-pipelines repo
run: |
curl -s -X POST \
"http://forgejo.tooling.svc.cluster.local:3000/api/v1/repos/ember/ci-pipelines/dispatches" \
-H "Authorization: token ${{ secrets.CI_DISPATCH_TOKEN }}" \
-H "Content-Type: application/json" \
-d '{"event_type": "continuwuity-push", "client_payload": {"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}}'