From ecf11849c245a59b472a989fb054d419b8cfc7d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Fri, 1 Mar 2024 21:14:36 +0800 Subject: [PATCH] chore:build --- script/deploy.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/script/deploy.sh b/script/deploy.sh index 223ead4..ce637fb 100644 --- a/script/deploy.sh +++ b/script/deploy.sh @@ -2,8 +2,16 @@ cd .. mkdir temp GITHUB_URL=https://oauth:${LLOneBot_GH_TOKEN}@github.com/LLOneBot/llonebot.github.io git clone ${GITHUB_URL} temp + +rm -rf temp/* mv ./LLOneBotDoc/docs/.vitepress/* temp + cd ./temp + +git config --global init.defaultBranch main +git remote add origin ${GITHUB_URL} +git branch -M main + git config --global user.name "Mlikiowa" git config --global user.email "nanaeonn@outlook.com" git add *