Skip to content

Commit

Permalink
Fixes broken links so we can deploy again (#14075)
Browse files Browse the repository at this point in the history
also adds better error message for when this happens to others
  • Loading branch information
supertopher authored Jun 23, 2022
1 parent a9f216c commit 2a28509
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/bin/deploy_docusaurus
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ pwd
yarn install

# generate static content
yarn build
if ! yarn build; then
echo -e "$red_text""yarn build has failed. Documentation probably has broken links""$default_text"
echo -e "$red_text""please fix the links, commit, and try again""$default_text"
fi

# Check tty for local/remote deploys (we expect cloud to be non-interactive)
# results like /dev/ttys000 || not a tty
Expand Down

0 comments on commit 2a28509

Please sign in to comment.