代码拉取完成,页面将自动刷新
# scp -r dist/* centos@aliyun:/home/centos/codebase/luban/luban-h5-dist/landing-page
# 生成静态文件
npm run build
# 进入生成的文件夹
cd 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@gitee.com:ly525/luban-h5.git master:gh-pages-landing-page
# git push -f git@github.com:ly525/luban-h5.git master:gh-pages-landing-page
git push -f git@gitee.com:ly525/luban-h5-landing-page.git master:gh-pages
cd -
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。