Fix credentials used

This commit is contained in:
Tom Willemse 2020-10-10 00:08:14 -07:00
parent 258d99a4cb
commit cb771cd950

2
Jenkinsfile vendored
View file

@ -46,7 +46,7 @@ pipeline {
unstash 'public_html' unstash 'public_html'
unstash 'public_css' unstash 'public_css'
withCredentials([file(credentialsId: 'ryuslash.org-deploy-key', variable: 'KEY_FILE')]) { withCredentials([file(credentialsId: 'ryuslash.org-deploy-key-2', variable: 'KEY_FILE')]) {
sh 'rsync -e "ssh -p 4511 -i $KEY_FILE" -v -c -r --delete public/ "site@ryuslash.org:public_html/"' sh 'rsync -e "ssh -p 4511 -i $KEY_FILE" -v -c -r --delete public/ "site@ryuslash.org:public_html/"'
} }
} }