ci-pipelines/.forgejo/workflows/fluffychat-trigger.yaml
ember 8a74ab3d66
All checks were successful
Trigger CI Pipeline / dispatch (push) Successful in 4s
Trigger FluffyChat CI Pipeline / dispatch (push) Successful in 5s
Update .forgejo/workflows/fluffychat-trigger.yaml
2026-03-17 09:09:54 +00:00

18 lines
581 B
YAML

name: Trigger FluffyChat CI Pipeline
on:
push:
branches:
- main
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": "fluffychat-push", "client_payload": {"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}}'