1
1
mirror of https://github.com/primer/css.git synced 2024-11-30 19:53:11 +03:00

update the commit status url to the branch alias

This commit is contained in:
Shawn Allen 2018-12-21 11:12:11 -08:00
parent 2f7660627b
commit 97cbe9d9f8

View File

@ -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