1 Star 0 Fork 0

luban-creative/luban-h5-landing-page

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
deploy.sh 678 Bytes
一键复制 编辑 原始数据 按行查看 历史
ly525 提交于 2020-11-01 14:24 . fix: deploy branch
# 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 -
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/luban-creative/luban-h5-landing-page.git
git@gitee.com:luban-creative/luban-h5-landing-page.git
luban-creative
luban-h5-landing-page
luban-h5-landing-page
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385