Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
546 B

#!/bin/bash
set -xe
# Install netlify-cli
npm install netlify-cli
# set path to grab the netlify binary
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 --json)
# Grab deploy URL
url=$(echo "$output" | jq --raw-output '.deploy_url')
# Checks broken links
wget \
--delete-after \
--level inf \
--no-verbose \
--recursive \
--no-directories \
--no-host-directories \
--page-requisites \
--spider \
$url