modify netlify-cli installation (#6674)

* modify netlify CLI installation

* bump middleman-hashicorp to 0.3.40 to include ssh
This commit is contained in:
Alvin Huang 2019-10-23 13:54:19 -04:00 committed by GitHub
parent 0c9487ae72
commit 3361bab1bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -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:

View File

@ -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