jjb: Add dev_review_lttng-www
[lttng-ci.git] / scripts / lttng-www / deploy.sh
index 3d73a4d3ca74b528f7351d7a7b409e85cb1ecf8c..2d3fe528f929a18db78f1a232e9b20d277fa4b45 100755 (executable)
@@ -37,6 +37,9 @@ print_header() {
     set -x
 }
 
+# Fail out early if this is 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
@@ -88,6 +91,6 @@ else
 fi
 
 print_header "Deploy website"
-bundle exec grunt deploy:prod --network
+bundle exec grunt "${DEPLOY_TARGET}" --network
 
 # EOF
This page took 0.023125 seconds and 4 git commands to generate.