Skip to content

Add trigger workflow for UAT deployment (#5) #1

Add trigger workflow for UAT deployment (#5)

Add trigger workflow for UAT deployment (#5) #1

Workflow file for this run

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 }}"
}