From 8dad4143f31bf8d3f9dfaccb8916464b8dc6c3e8 Mon Sep 17 00:00:00 2001 From: Alvin Huang <17609145+alvin-huang@users.noreply.github.com> Date: Wed, 23 Oct 2019 13:54:19 -0400 Subject: [PATCH] modify netlify-cli installation (#6674) * modify netlify CLI installation * bump middleman-hashicorp to 0.3.40 to include ssh --- .circleci/config.yml | 2 +- website/scripts/link-check.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b22468c93..41dabb1a5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ version: 2 references: images: go: &GOLANG_IMAGE circleci/golang:1.12.8 - middleman: &MIDDLEMAN_IMAGE hashicorp/middleman-hashicorp:0.3.35 + middleman: &MIDDLEMAN_IMAGE hashicorp/middleman-hashicorp:0.3.40 ember: &EMBER_IMAGE circleci/node:8-browsers paths: diff --git a/website/scripts/link-check.sh b/website/scripts/link-check.sh index 3073324c3..c0acdfca8 100755 --- a/website/scripts/link-check.sh +++ b/website/scripts/link-check.sh @@ -2,7 +2,10 @@ set -xe # Install netlify-cli -sudo npm install netlify-cli -g +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