修改node打包配置和Jenkins打包部署
This commit is contained in:
parent
61b6666bdc
commit
44e7b47287
@ -17,7 +17,9 @@ pipeline {
|
||||
}
|
||||
stage('Publish') {
|
||||
steps {
|
||||
sh 'cp -rf ./dist/* /usr/local/joylink/jlclient'
|
||||
sh 'mkdir -p /usr/local/joylink/official-website'
|
||||
sh 'rm -rf /usr/local/joylink/official-website/*'
|
||||
sh 'cp -rf ./dist/* /usr/local/joylink/official-website/'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,8 +9,8 @@ const name = defaultSettings.title;
|
||||
const port = 9520;
|
||||
|
||||
module.exports = {
|
||||
publicPath: "/official-website",
|
||||
outputDir: "dist/official-website",
|
||||
publicPath: "/",
|
||||
outputDir: "dist",
|
||||
assetsDir: "static",
|
||||
lintOnSave: false,
|
||||
productionSourceMap: false,
|
||||
|
Reference in New Issue
Block a user