Do not use sudo for installing frey

This commit is contained in:
Marius 2016-11-11 16:37:59 +01:00
parent fb523ce470
commit ebfe631ddf
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ maketar linux amd64
cp ./tusd_linux_amd64.tar.gz "${__dir}/../.infra/files/"
which frey || sudo npm install -g frey
which frey || npm install -g frey
FREY="$(which frey)"
$FREY --projectDir "${__dir}/../.infra" deploy

View File

@ -34,7 +34,7 @@ deploy:
tags: true
go: 1.7
repo: tus/tusd
condition: $(./.scripts/build_all.sh)
#condition: $(./.scripts/build_all.sh)
- provider: script
script: .scripts/deploy_current.sh
on: