Skip to content

Commit

Permalink
deploy测试
Browse files Browse the repository at this point in the history
  • Loading branch information
byeaxj committed May 9, 2024
1 parent 9e5783d commit c6d0961
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion beiklive/.vuepress/public/CNAME
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
doc.beiklive.top
4 changes: 2 additions & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c6d0961

Please sign in to comment.