From ae700dc99a0384a763f8c52a40e6d01d30d09f56 Mon Sep 17 00:00:00 2001 From: Lawrence Li Date: Thu, 6 Nov 2025 22:43:21 +1100 Subject: [PATCH] Add trigger workflow for UAT deployment --- .github/workflows/trigger.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/trigger.yml diff --git a/.github/workflows/trigger.yml b/.github/workflows/trigger.yml new file mode 100644 index 0000000..e329e42 --- /dev/null +++ b/.github/workflows/trigger.yml @@ -0,0 +1,25 @@ +name: Trigger UAT deployment + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: Notify main repo of submodule update + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.MAIN_REPO_TRIGGER_TOKEN }} + repository: Dispatch-AI-com/dispatchai-platform + event-type: submodule-updated + client-payload: | + { + "submodule": "${{ github.repository }}", + "ref": "${{ github.ref }}", + "sha": "${{ github.sha }}", + "actor": "${{ github.actor }}" + }