build: deploy screenshot app for push builds (#6299)

* Currently only the screenshot functions are deployed, but not he screenshot application. With this change the application will be also deployed on Travis Push builds.
This commit is contained in:
Paul Gschwendtner
2017-08-07 19:20:30 +02:00
committed by mmalerba
parent 5ecc509763
commit 3944d70435
@@ -28,6 +28,6 @@ cd ${screenshotToolFolder}
# to collect all function names before it can deploy them.
(cd functions; npm install)
# Deploy the screenshot functions to Firebase
${firebaseBin} deploy --only functions --token ${MATERIAL2_SCREENSHOT_FIREBASE_DEPLOY_TOKEN} \
--non-interactive --project material2-screenshots
# Deploy the screenshot application and functions to Firebase
${firebaseBin} deploy --token ${MATERIAL2_SCREENSHOT_FIREBASE_DEPLOY_TOKEN} --non-interactive \
--project material2-screenshots