# git pull cd web # npm install # npm run clean # npm run build:prod rm -f ../templates/index.html rm -fr ../static cp -f ./dist/index.html ../templates/index.html cp -fr ./dist/static .. cd .. git add . # git commit -m '重新build' # git push origin develope # git checkout master # git merge develope -m 'merge dev' # git push origin master # git checkout develope