部署到GitHub Pages
编译
在<respositoy>.github.io目录下使用cmd运行
npm run docs:build初始化本地仓库
进入打算同步的文件夹
cd docs/.vuepress/dist初始化
git init添加文件
git add -A准备提交
git commit -m 'deploy'同步到远程仓库
使用方法git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git <branch>
git push -f git@github.com:melonpeasant/melonpeasant.github.io.git main