From 2522197664c30c952f74cd77489299e315f9f8c3 Mon Sep 17 00:00:00 2001 From: ember Date: Tue, 17 Mar 2026 13:10:52 +0000 Subject: [PATCH] sync: add continuwuity-trigger.yaml from wavecat repo --- .forgejo/workflows/continuwuity-trigger.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .forgejo/workflows/continuwuity-trigger.yaml diff --git a/.forgejo/workflows/continuwuity-trigger.yaml b/.forgejo/workflows/continuwuity-trigger.yaml new file mode 100644 index 0000000..2904ac2 --- /dev/null +++ b/.forgejo/workflows/continuwuity-trigger.yaml @@ -0,0 +1,18 @@ +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 }}"}}'