Merge branch 'fix-production-deployments' of billy/budget into master
This commit is contained in:
commit
8ec81622e7
1 changed files with 1 additions and 0 deletions
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
|
@ -29,6 +29,7 @@ pipeline {
|
|||
steps {
|
||||
sshPut remote: remote, from: 'archive.zip', into: '.'
|
||||
sshCommand remote: remote, command: """
|
||||
if [ test -d /var/www/budget.wbrawner.com/revisions/$GIT_COMMIT ]; then rm -rf /var/www/budget.wbrawner.com/revisions/$GIT_COMMIT; fi && \
|
||||
mkdir -p /var/www/budget.wbrawner.com/revisions/$GIT_COMMIT && \
|
||||
unzip -d /var/www/budget.wbrawner.com/revisions/$GIT_COMMIT /root/archive.zip && \
|
||||
rm /root/archive.zip && \
|
||||
|
|
Loading…
Reference in a new issue