Add fluffychat-trigger.yaml
All checks were successful
Trigger CI Pipeline / dispatch (push) Successful in 3s
All checks were successful
Trigger CI Pipeline / dispatch (push) Successful in 3s
This commit is contained in:
parent
7135fad18e
commit
4c61fc7dda
1 changed files with 18 additions and 0 deletions
18
fluffychat-trigger.yaml
Normal file
18
fluffychat-trigger.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
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 }}"}}'
|
||||||
Loading…
Add table
Reference in a new issue