From c6d0961a2db431f7e565a6da9b87eea35816dbd3 Mon Sep 17 00:00:00 2001 From: byeaxj Date: Thu, 9 May 2024 14:05:07 +0800 Subject: [PATCH] =?UTF-8?q?deploy=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beiklive/.vuepress/public/CNAME | 1 - deploy.sh | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/beiklive/.vuepress/public/CNAME b/beiklive/.vuepress/public/CNAME index a8330721..e69de29b 100644 --- a/beiklive/.vuepress/public/CNAME +++ b/beiklive/.vuepress/public/CNAME @@ -1 +0,0 @@ -doc.beiklive.top \ No newline at end of file diff --git a/deploy.sh b/deploy.sh index 5c998141..1a1791b0 100644 --- a/deploy.sh +++ b/deploy.sh @@ -4,13 +4,13 @@ set -e -push_addr=`git remote get-url --push origin` # git提交地址,也可以手动设置,比如:push_addr=git@github.com:xugaoyi/vuepress-theme-vdoing.git +push_addr=https://github.com/beiklive/beiklive.github.io # git提交地址,也可以手动设置,比如:push_addr=git@github.com: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