X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=scripts%2Fefficios-www%2Fdeploy.sh;h=389a3175f8020ecf05ec17313a53f937ef7ca57a;hb=76a5167c21c010adb46fa57c2158fcc06cff3446;hp=9f0fb1386b35002f10c4b500690533812f0ee373;hpb=8fa2f091786eb75dc86117461e6a0b819c40f234;p=lttng-ci.git diff --git a/scripts/efficios-www/deploy.sh b/scripts/efficios-www/deploy.sh index 9f0fb13..389a317 100644 --- a/scripts/efficios-www/deploy.sh +++ b/scripts/efficios-www/deploy.sh @@ -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