-
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
byeaxj
committed
May 9, 2024
1 parent
9e5783d
commit c6d0961
Showing
2 changed files
with
2 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
doc.beiklive.top | ||
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 |
---|---|---|
|
@@ -4,13 +4,13 @@ | |
set -e | ||
|
||
|
||
push_addr=`git remote get-url --push origin` # git提交地址,也可以手动设置,比如:[email protected]:xugaoyi/vuepress-theme-vdoing.git | ||
push_addr=https://github.com/beiklive/beiklive.github.io # git提交地址,也可以手动设置,比如:[email protected]:xugaoyi/vuepress-theme-vdoing.git | ||
commit_info=`git describe --all --always --long` | ||
dist_path=beiklive/.vuepress/dist # 打包生成的文件夹路径 | ||
push_branch=gh-pages # 推送的分支 | ||
|
||
# 生成静态文件 | ||
npm run build | ||
yarn build | ||
|
||
# 进入生成的文件夹 | ||
cd $dist_path | ||
|