mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 17:08:12 +08:00
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:
@@ -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"}'
|
||||||
Reference in New Issue
Block a user