website

The files for mattfehrenbach.xyz, a fork of a template.
git clone git://git.mattfehrenbach.xyz/website.git
Log | Files | Refs

commit 4901931863136958954101ce5fda2d98f9b7137b
parent c87b0ecff7813181ea32943643ecd72961764d78
Author: Matt Fehrenbach <m.fehrenbach@pm.me>
Date:   Mon, 10 Aug 2020 23:51:20 +0100

Modified Jenkinsfile

Diffstat:
MJenkinsfile | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile @@ -10,7 +10,9 @@ pipeline { stage('Deploy') { steps { - fileOperations([folderCreateOperation('staging'), fileUnZipOperation(filePath: 'build.zip', targetLocation: 'staging'), folderCopyOperation(destinationFolderPath: '/var/www/mattfehrenbach', sourceFolderPath: 'staging/build')]) + fileOperations([folderCreateOperation('staging'), fileUnZipOperation(filePath: 'build.zip', targetLocation: 'staging')]) + sh "rm -r /var/www/mattfehrenbach/*" + fileOperations([folderCopyOperation(destinationFolderPath: '/var/www/mattfehrenbach', sourceFolderPath: 'staging/build')]) } }