Ci/promotable builds (#1182)

* 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
This commit is contained in:
Danny Brown authored and GitHub committed 2019-11-14 15:56:23 -05:00
1 parent e03abc45f5
commit 2e38f4b2e4
1 file changed
+2 -2
+2 -2
View File
@@ -179,8 +179,8 @@ jobs:
steps:
- attach_workspace:
at: ~/repo
- run: npm install netlify-cli -g
- run: npx netlify deploy --prod --dir platform/viewer/dist
- run: sudo npm install netlify-cli -g
- run: sudo npx netlify deploy --prod --dir platform/viewer/dist
DEPLOY_TO_STAGING:
docker: