X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Flttng-www%2Fdeploy.sh;h=2d3fe528f929a18db78f1a232e9b20d277fa4b45;hb=4955549e270f70e6403bb44fb16016dade5e18c7;hp=3d73a4d3ca74b528f7351d7a7b409e85cb1ecf8c;hpb=f3b60e31709f34824d54a6731b58d5fa87b6c8db;p=lttng-ci.git diff --git a/scripts/lttng-www/deploy.sh b/scripts/lttng-www/deploy.sh index 3d73a4d..2d3fe52 100755 --- a/scripts/lttng-www/deploy.sh +++ b/scripts/lttng-www/deploy.sh @@ -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