diff --git a/bin/ci-pre-deploy b/bin/ci-pre-deploy index fbd89b2..08b7600 100644 --- a/bin/ci-pre-deploy +++ b/bin/ci-pre-deploy @@ -4,7 +4,7 @@ if [ "$IS_REVIEW_APP" = "true" ]; then ssh "$SSH_REMOTE" -- repo:purge-cache "$APP_NAME" echo "-----> Setting the test domain name" - ssh "$SSH_REMOTE" -- repo:purge-cache "$APP_NAME" "$APP_NAME.dokku.net" + ssh "$SSH_REMOTE" -- domains:set "$APP_NAME" "$APP_NAME.dokku.net" echo "-----> Setting the buildpack to the current commit" echo "https://github.com/${GITHUB_REPOSITORY}.git#$GITHUB_SHA" > .buildpacks