ci: fix path
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Giles Bradshaw 2020-08-14 13:28:17 +01:00
parent 100d10675c
commit 8454fb878e
2 changed files with 4 additions and 4 deletions

View File

@ -53,7 +53,7 @@ steps:
from_secret: ssh-port
source:
- .
target: "%(name)s"
target: /stack/guacamole
username:
from_secret: ssh-user
@ -106,7 +106,7 @@ steps:
- export GUACAMOLE_POSTGRES_DB=$${GUACAMOLE_POSTGRES_DB}
- export GUACAMOLE_POSTGRES_USER=$${GUACAMOLE_POSTGRES_USER}
- set -e
- cd %(name)s
- cd /stack/guacamole
- sh .drone/login.sh
- sh .drone/pull.sh
- sh .drone/deploy.sh

View File

@ -65,7 +65,7 @@ function(
name: 'print env',
},
images.scp(
'%(root)%(name)s' % { root: root, name: name }
'%(root)s%(name)s' % { root: root, name: name }
),
images.wait(15),
build(buildSecrets),
@ -88,7 +88,7 @@ function(
) +
[
'set -e',
'cd %(root)%(name)s' % { root: root, name: name },
'cd %(root)s%(name)s' % { root: root, name: name },
'sh .drone/login.sh',
'sh .drone/pull.sh',
'sh .drone/deploy.sh',