Create Deploy stage for master branch #12

Merged
cameron merged 3 commits from feature/implement-prod-deployment into master 2023-06-16 02:03:26 +00:00
Showing only changes of commit be2955482a - Show all commits

18
Jenkinsfile vendored
View File

@@ -37,19 +37,21 @@ pipeline {
sshPublisher( sshPublisher(
publishers: [ publishers: [
sshPublisherDesc( sshPublisherDesc(
configName: 'droplet-ssh', configName: 'droplet-ssh',
transfers: [ transfers: [
sshTransfer( sshTransfer(
sourceFiles: 'dist/Homepage/**', sourceFiles: 'dist/Homepage/**',
remoteDirectory: '/home/cameron/docker/homepage/html', remoteDirectory: '/home/cameron/docker/homepage/html',
execCommand: 'echo Finished' execCommand: 'echo Finished'
) )
] ]
)
] ]
) )
} }
} }
} }
post { post {
always { always {
archiveArtifacts artifacts: 'dist/Homepage/**', fingerprint: true archiveArtifacts artifacts: 'dist/Homepage/**', fingerprint: true