Skip to content

Commit

Permalink
fix: use dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
vvvvvv1vvvvvv committed Sep 18, 2021
1 parent 2d09619 commit 4deb789
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BUILD_PATH=./dist
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

# production
/build
/dist

# misc
.DS_Store
Expand Down
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/'
2 changes: 1 addition & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
},
Expand Down

0 comments on commit 4deb789

Please sign in to comment.