deploy fix

This commit is contained in:
simon987 2019-05-11 11:09:23 -04:00
parent b994bdfb3a
commit e101f3ae4f

2
jenkins/Jenkinsfile vendored
View File

@ -33,7 +33,7 @@ pipeline {
steps {
node('master') {
unstash 'webdist'
sshCommand remote: remote, command: "cd simon987 && rm -rf webroot/* deploy.sh"
sshCommand remote: remote, command: "cd music-graph && rm -rf webroot/* deploy.sh"
sshPut remote: remote, from: 'webroot/', into: 'music-graph'
sshPut remote: remote, from: 'jenkins/deploy.sh', into: 'music-graph/'
sshCommand remote: remote, command: 'chmod +x music-graph/deploy.sh && ./music-graph/deploy.sh'