diff --git a/Jenkinsfile b/Jenkinsfile index ee40281..2401919 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -41,6 +41,12 @@ pipeline { archiveArtifacts artifacts: 'dist/**', fingerprint: true, allowEmptyArchive: false } } + + stage('Deploy') { + steps { + sh 'sudo /usr/bin/rsync -a --delete dist/ /opt/1panel/www/sites/workstation.xiaozhou233.cn/index/' + } + } } post {