-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
zhoumengxiang
committed
Sep 27, 2024
1 parent
b2bd2fc
commit cd165eb
Showing
16 changed files
with
24 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
# 确保脚本抛出遇到的错误 | ||
# set -e | ||
set -e | ||
|
||
# 生成静态文件 | ||
npm run docs:build | ||
|
||
# npm run docs:build | ||
pwd | ||
# 进入生成的文件夹 | ||
cd docs/.vitepress/dist | ||
cd ./docs/.vitepress/dist | ||
pwd | ||
echo $? | ||
ls . | ||
git add -A | ||
git commit -m 'deploy' | ||
|
||
# 如果发布到 https://<USERNAME>.github.io/<REPO> | ||
# # 如果发布到 https://<USERNAME>.github.io/<REPO> | ||
git push -f https://github.com/lantingBoy/alladin-ui-plus.git master:gh-pages | ||
|
||
cd .. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.