Ci/promotable builds (#1183)

* ci: don't build our master branch

* Add netlify-cli as a dev dependency

* ci: trying a sheltered merge flow for promotions

* ci: try building with QUICK_BUILD flag

* Try using ~/repo prefix in command

* ci: make sure netlify command is available

* ci: use sudo for global command

* Inline personal access token w/ env var
This commit is contained in:
Danny Brown authored and GitHub committed 2019-11-14 16:08:25 -05:00
1 parent 2e38f4b2e4
commit ed9e4d6751
1 file changed
+3 -1
+3 -1
View File
@@ -180,7 +180,9 @@ jobs:
- attach_workspace:
at: ~/repo
- run: sudo npm install netlify-cli -g
- run: sudo npx netlify deploy --prod --dir platform/viewer/dist
- run:
sudo npx netlify deploy --prod --auth $NETLIFY_AUTH_TOKEN --dir
platform/viewer/dist
DEPLOY_TO_STAGING:
docker: