add action to deploy on on push to canary branch (#2196)

* add action to deploy on on push to canary branch
This commit is contained in:
Madison Dunitz
2021-05-17 16:15:48 -07:00
committed by GitHub
parent 265ccf3682
commit 6f6634a4d9

13
.github/workflows/canary-deploy.yml vendored Normal file
View File

@@ -0,0 +1,13 @@
name: Deploy canary via single cell infra repo
on:
push:
branches: main-canary
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: repository dispatch
run: |
curl -XPOST -u czi-sci-single-cell-eng:${{secrets.SCI_GITHUB_TOKEN}} -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/chanzuckerberg/single-cell-infra/dispatches --data '{"event_type": "canary-hook"}'