Skip to content

Fix noninteractive toggle (#8383) #3987

Fix noninteractive toggle (#8383)

Fix noninteractive toggle (#8383) #3987

name: CD deploy main
timeout-minutes: 3

Check failure on line 2 in .github/workflows/cd-deploy-main.yaml

View workflow run for this annotation

GitHub Actions / CD deploy main

Invalid workflow file

The workflow is not valid. .github/workflows/cd-deploy-main.yaml (Line: 2, Col: 1): Unexpected value 'timeout-minutes'
on:
push:
branches:
- main
jobs:
deploy-main:
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.TWENTY_INFRA_TOKEN }}
repository: twentyhq/twenty-infra
event-type: auto-deploy-main
client-payload: '{"github": ${{ toJson(github) }}}' # Passes the entire github context to the downstream workflow