modify netlify-cli installation (#6674)
* modify netlify CLI installation * bump middleman-hashicorp to 0.3.40 to include ssh
This commit is contained in:
parent
911bb78296
commit
8dad4143f3
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue