mirror of
https://github.com/primer/css.git
synced 2024-11-30 01:04:04 +03:00
deploy it!
This commit is contained in:
parent
c2f0c4bf3e
commit
2700bd6a90
@ -1,8 +1,12 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
if [ -z "$NOW_TOKEN" ]; then
|
||||
echo "NOW_TOKEN is not set; skipping docs deployment"
|
||||
else
|
||||
cd docs
|
||||
now --token=$NOW_TOKEN
|
||||
now --token=$NOW_TOKEN > now-url.txt
|
||||
url=$(cat now-url.txt)
|
||||
version=$(jq -r .name ../modules/primer/package.json)
|
||||
npx commit-status "deployed to <$url>" "now" "primer@$version" "$url"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user