Do not use sudo for installing frey
This commit is contained in:
parent
fb523ce470
commit
ebfe631ddf
|
@ -12,7 +12,7 @@ maketar linux amd64
|
||||||
|
|
||||||
cp ./tusd_linux_amd64.tar.gz "${__dir}/../.infra/files/"
|
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="$(which frey)"
|
||||||
|
|
||||||
$FREY --projectDir "${__dir}/../.infra" deploy
|
$FREY --projectDir "${__dir}/../.infra" deploy
|
||||||
|
|
|
@ -34,7 +34,7 @@ deploy:
|
||||||
tags: true
|
tags: true
|
||||||
go: 1.7
|
go: 1.7
|
||||||
repo: tus/tusd
|
repo: tus/tusd
|
||||||
condition: $(./.scripts/build_all.sh)
|
#condition: $(./.scripts/build_all.sh)
|
||||||
- provider: script
|
- provider: script
|
||||||
script: .scripts/deploy_current.sh
|
script: .scripts/deploy_current.sh
|
||||||
on:
|
on:
|
||||||
|
|
Loading…
Reference in New Issue