netlify CLI outputs "Website Draft URL" now instead of "Live Draft URL" (#7676)
This commit is contained in:
parent
c4123791a9
commit
66ae2e1e27
|
@ -9,10 +9,10 @@ export PATH=$PATH:$(npm bin)
|
|||
|
||||
# Deploy site to netlify
|
||||
# Assumes NETLIFY_SITE_ID and NETLIFY_AUTH_TOKEN env variables are set
|
||||
output=$(netlify deploy --dir=./website/build)
|
||||
output=$(netlify deploy --dir=./website/build --json)
|
||||
|
||||
# Grab deploy URL
|
||||
url=$(echo "$output" | grep "Live Draft URL" | sed -E 's/.*(https:\/\/.*$)/\1/')
|
||||
url=$(echo "$output" | jq --raw-output '.deploy_url')
|
||||
|
||||
# Checks broken links
|
||||
wget \
|
||||
|
|
Loading…
Reference in New Issue