jjb: Add dev_review_efficios-www
[lttng-ci.git] / scripts / efficios-www / deploy.sh
index 9f0fb1386b35002f10c4b500690533812f0ee373..389a3175f8020ecf05ec17313a53f937ef7ca57a 100644 (file)
@@ -37,6 +37,9 @@ print_header() {
     set -x
 }
 
+# Fail early if not set
+echo "Deploy target: ${DEPLOY_TARGET}"
+
 # Add ssh key for deployment
 cp "$HOST_PUBLIC_KEYS" ~/.ssh/known_hosts
 cp "$KEY_FILE_VARIABLE" ~/.ssh/id_rsa
@@ -84,5 +87,5 @@ else
 fi
 
 print_header "Deploy website"
-grunt deploy:prod --verbose
+grunt "${DEPLOY_TARGET}" --verbose
 # EOF
This page took 0.02346 seconds and 4 git commands to generate.