diff --git a/Jenkinsfile b/Jenkinsfile index 25f027a..df9878d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -66,7 +66,7 @@ EOS stage('Deploy') { when { branch 'master' } steps { - withCredentials([sshUserPrivateKey(credentialsId: 'hexo-deploy-key', keyFileVariable: 'DEPLOY_KEY')]) { + withCredentials([sshUserPrivateKey(credentialsId: 'hexo_deploy_key', keyFileVariable: 'DEPLOY_KEY')]) { sh ''' rsync -avz --chmod=D755,F644 \ -e "ssh -i $DEPLOY_KEY -o StrictHostKeyChecking=accept-new" \