From 666e6d9849452849576457deae7fd6cc09b421cd Mon Sep 17 00:00:00 2001 From: Madison Dunitz Date: Mon, 27 Apr 2020 13:01:31 -0700 Subject: [PATCH] Add Deployment hook (#1430) * test deployment hook * remove test branch * update heroku review deployment --- .github/workflows/deploy.yml | 13 +++++++++++++ app.json | 6 +++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 00000000..ca0f3bec --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,13 @@ +name: Deploy via single cell infra repo + +on: + push: + branches: master + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: repository dispatch + run: | + curl -XPOST -u mdunitz:${{secrets.SCINFRA_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": "cellxgene-hook"}' diff --git a/app.json b/app.json index a53799ef..958f7a28 100644 --- a/app.json +++ b/app.json @@ -10,7 +10,11 @@ "transcriptomics", "dataviz" ], - "stack": "container", + "buildpacks": [ + "heroku/nodejs", + "heroku/python" + ], + "stack": "heroku-18", "env": { "DATASET": { "description": "Link to dataset",