mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-25 13:02:15 +03:00
d4f6ffdf62
* feat(ci): automate CI tags and pass github context * Update .github/workflows/cd-deploy-tag.yaml --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
17 lines
474 B
YAML
17 lines
474 B
YAML
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
|