diff --git a/script/build-docs b/script/build-docs index e06b893d..529fd5f7 100755 --- a/script/build-docs +++ b/script/build-docs @@ -12,5 +12,8 @@ else url=$(cat now-url.txt) version=$(jq -r .version ../modules/primer/package.json) npx commit-status success docs "deployed primer@$version to $url" "$url" - $now alias $url "primer-css-$TRAVIS_BRANCH.now.sh" + alias="primer-css-$TRAVIS_BRANCH.now.sh" + echo "aliasing..." + $now alias $url $alias + npx commit-status success docs "deployed primer@$version to $alias" "$alias" fi