diff --git a/Jenkinsfile-test b/Jenkinsfile-test index d06d759..510925d 100644 --- a/Jenkinsfile-test +++ b/Jenkinsfile-test @@ -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/' } } } diff --git a/vue.config.js b/vue.config.js index f19b82c..8d857a8 100644 --- a/vue.config.js +++ b/vue.config.js @@ -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,