Update README.md #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CD deploy main | |
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 |