Merge pull request 'Fix deploy path and cleanup old deployment before copying' (#13) from feature/fix-deploy-directory into master
All checks were successful
Core Repos/Homepage/pipeline/head This commit is unstable

Reviewed-on: #13
This commit was merged in pull request #13.
This commit is contained in:
2023-06-16 02:18:27 +00:00

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'
)
]