2 Star 10 Fork 3

Sophi/ai-face-system-front

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
deploy.sh 538 Bytes
一键复制 编辑 原始数据 按行查看 历史
yudong 提交于 2018-12-08 15:19 . 封装侧栏组件&mock静态数据&add ci
#!/usr/bin/env sh
# 确保脚本抛出遇到的错误
set -e
# 生成静态文件
npm run build
# 进入生成的文件夹
cd dist
git init
git add -A
git commit -m 'deploy'
# 如果发布到 https://<USERNAME>.github.io
# git push -f [email protected]:<USERNAME>/<USERNAME>.github.io.git master
# 如果发布到 https://<USERNAME>.github.io/<REPO>
# 手动部署
# git push -f [email protected]:Neveryu/vue-cms.git master:gh-pages
# 自动部署
git push -f "https://${access_token}@github.com/Neveryu/vue-cms.git" master:gh-pages
cd -
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/sophis/vue-cms.git
[email protected]:sophis/vue-cms.git
sophis
vue-cms
ai-face-system-front
master

搜索帮助