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:
|
references:
|
||||||
images:
|
images:
|
||||||
go: &GOLANG_IMAGE circleci/golang:1.12.8
|
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
|
ember: &EMBER_IMAGE circleci/node:8-browsers
|
||||||
|
|
||||||
paths:
|
paths:
|
||||||
|
|
|
@ -2,7 +2,10 @@
|
||||||
set -xe
|
set -xe
|
||||||
|
|
||||||
# Install netlify-cli
|
# 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
|
# Deploy site to netlify
|
||||||
# Assumes NETLIFY_SITE_ID and NETLIFY_AUTH_TOKEN env variables are set
|
# Assumes NETLIFY_SITE_ID and NETLIFY_AUTH_TOKEN env variables are set
|
||||||
|
|
Loading…
Reference in New Issue