Former-commit-id: 67f42ff63c7d06a7a49e47da38a1ba843642ed8f
This commit is contained in:
liyang
2018-07-07 12:10:24 +08:00
parent f387a9ae67
commit f2c19bf06e
138 changed files with 0 additions and 20080 deletions
-27
View File
@@ -1,27 +0,0 @@
#!/usr/bin/env sh
# 确保脚本抛出遇到的错误
set -e
# 生成静态文件
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:fairyever/d2-admin-start-kit-preview.git master
cd -
echo "publish to https://fairyever.gitee.io/d2-admin-start-kit-preview/#/index"