VuePress(v1):https://v1.vuepress.vuejs.org/zh/guide/
shell 脚本:npm 构建和推送 docs/.vuepress/dist
到远程分支
if [ ! -e package.json ]; then
echo '请在 package.json 所在目录下执行该脚本!'
exit
fi
if [ -d "docs/.vuepress/dist" ]; then
rm -rf docs/.vuepress/dist
fi
echo '
标签:git,echo,vuepress,&&,gitee,pages
From: https://www.cnblogs.com/engure/p/17121084.html