ci; fix output folder from public to out
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
c074087f92
commit
8a8d681e87
|
@ -57,7 +57,7 @@ pipeline {
|
||||||
steps {
|
steps {
|
||||||
dir('builder') {
|
dir('builder') {
|
||||||
sshagent(credentials: ['status-im-auto-ssh']) {
|
sshagent(credentials: ['status-im-auto-ssh']) {
|
||||||
sh "ghp-import -p public"
|
sh "ghp-import -p out"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -69,7 +69,7 @@ pipeline {
|
||||||
dir('builder') {
|
dir('builder') {
|
||||||
sshagent(credentials: ['jenkins-ssh']) {
|
sshagent(credentials: ['jenkins-ssh']) {
|
||||||
sh """
|
sh """
|
||||||
rsync -e 'ssh -o ${SCP_OPTS}' -r --delete public/. \
|
rsync -e 'ssh -o ${SCP_OPTS}' -r --delete out/. \
|
||||||
${env.DEV_HOST}:/var/www/${env.DEV_SITE}/
|
${env.DEV_HOST}:/var/www/${env.DEV_SITE}/
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue