deploy: sync dist to 1Panel site after build

This commit is contained in:
xiaozhou233 committed 2026-08-09 13:44:00 +08:00
1 parent 0bc4ed91c5
commit 38d0d8508d
1 file changed
+6
Vendored
+6
View File
@@ -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 {