1
1
mirror of https://github.com/primer/css.git synced 2025-01-05 12:57:32 +03:00

run prepare in docs dir before deploying

This commit is contained in:
Shawn Allen 2018-12-07 14:28:17 -08:00
parent da6d15b25a
commit ff8d0cbbce

View File

@ -6,6 +6,7 @@ if [ -z "$NOW_TOKEN" ]; then
else
cp modules/primer/build/build.css docs/static/primer.css
cd docs
npm run prepare
now --token=$NOW_TOKEN | tee now-url.txt
url=$(cat now-url.txt)
version=$(jq -r .version ../modules/primer/package.json)