0 Star 22 Fork 20

antor / vue-data-view

forked from 轻云吻雪 / vue-data-view 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
deploy.sh 536 Bytes
一键复制 编辑 原始数据 按行查看 历史
lizhensheng 提交于 2020-04-24 08:51 . add doc
#!/usr/bin/env sh
# 确保脚本抛出遇到的错误
set -e
# 生成静态文件
npm run doc-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:lizhensheng/vue-data-view.git master:gh-pages
cd -
exec /bin/bash
1
https://gitee.com/antor/vue-data-view.git
git@gitee.com:antor/vue-data-view.git
antor
vue-data-view
vue-data-view
master

搜索帮助