Fix deploy path and cleanup old deployment before copying
Some checks are pending
Core Repos/Homepage/pipeline/pr-master Build started...

This commit is contained in:
Cameron Cordes
2023-06-15 22:16:37 -04:00
parent 266284161b
commit 5fec32d7b0

4
Jenkinsfile vendored
View File

@@ -39,9 +39,11 @@ pipeline {
sshPublisherDesc(
configName: 'droplet-ssh',
transfers: [
sshTransfer(execCommand: 'rm -r html/*'),
sshTransfer(
sourceFiles: 'dist/Homepage/**',
remoteDirectory: '/home/cameron/docker/homepage/html',
removePrefix: 'dist/Homepage',
remoteDirectory: 'html',
execCommand: 'echo Finished'
)
]