no message
Former-commit-id: 206b8371e95f1486557e04698b07df1cf7d715f5 [formerly 206b8371e95f1486557e04698b07df1cf7d715f5 [formerly 206b8371e95f1486557e04698b07df1cf7d715f5 [formerly 206b8371e95f1486557e04698b07df1cf7d715f5 [formerly 1ea6a07b5b182337aac9e9b9a0ed4d6032aa9da8 [formerly bbb832b3ad778d64e7b783f94b5721e31115ce16]]]]] Former-commit-id: c5a1719b81748c4e9bffc2f429dafa04c4d3d62a Former-commit-id: 3a265ac3842b8296773364903a1553d41414f562 Former-commit-id: 0ef36f0eee13ce6da1f09a57baa680e64be7a20b [formerly 9fd2a53806d461efdca1204aa99219d9af5e3774] Former-commit-id: 3ce8c8728596f1d36c9087e61e95579454e6e787 Former-commit-id: dade68715d3aa0a24f40c94a3fc917a1256c0b04 Former-commit-id: a240afe09779756446e5130233b5b9580a5add21 Former-commit-id: 588055f848c3b6bcc7d90300e695c2f6deb0a3ea Former-commit-id: c232625c304c2a90961e58ca6e9a51925fa24074
This commit is contained in:
@@ -1,25 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# 确保脚本抛出遇到的错误
|
||||
set -e
|
||||
|
||||
# 生成静态文件
|
||||
npm run doc:build
|
||||
|
||||
# 进入生成的文件夹
|
||||
cd docs/.vuepress/dist
|
||||
|
||||
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:FairyEver/d2-admin.git master:gh-pages
|
||||
git push -f git@gitee.com:fairyever/d2-admin-doc.git master
|
||||
|
||||
cd -
|
||||
|
||||
echo "publish to http://d2admin.fairyever.com/"
|
||||
@@ -1,7 +0,0 @@
|
||||
set -e
|
||||
|
||||
git add --all
|
||||
|
||||
git commit -m 'no message'
|
||||
|
||||
git push
|
||||
Reference in New Issue
Block a user