diff --git a/.env b/.env new file mode 100644 index 0000000..3d1a156 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +BUILD_PATH=./dist \ No newline at end of file diff --git a/.gitignore b/.gitignore index 4d29575..800f3a8 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ # production /build +/dist # misc .DS_Store diff --git a/deploy.sh b/deploy.sh index 4990288..bfd7abb 100644 --- a/deploy.sh +++ b/deploy.sh @@ -7,6 +7,6 @@ server="hk-builder" yarn build -rsync -avzz --delete build ${server}:~/ +rsync -avzz --delete dist ${server}:~/ -ssh ${server} 'sudo cp -r ~/build /data/fe/rabby_prod/' +ssh ${server} 'sudo cp -r ~/dist /data/fe/rabby_prod/' diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index b31bc41..4cd0947 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -6,7 +6,7 @@ module.exports = { description: 'Document for Rabby', nextLinks: false, prevLinks: false, - dest: path.resolve(__dirname, '../../build/docs'), + dest: path.resolve(__dirname, '../../dist/docs'), themeConfig: { logo: '/logo.png' },