deploy.sh
447 Bytes
# ็ๆ้ๆๆไปถ
npm run docs:build
# ่ฟๅ
ฅ็ๆ็ๆไปถๅคน
cd docs/.vuepress/dist
# ๅฆๆๆฏๅๅธๅฐ่ชๅฎไนๅๅ
# echo 'www.example.com' > CNAME
git init
git add -A
git commit -m 'deploy'
# ๅฆๆๅๅธๅฐ https://<USERNAME>.github.io
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master
# ๅฆๆๅๅธๅฐ https://<USERNAME>.github.io/<REPO>
git push -f git@github.com:ly525/luban-h5.git master:gh-pages
cd -