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 911bb78296
commit 8dad4143f3
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: 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:

View File

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