From b04597f6aba137c48cbb08aa3613b2e3b06abbb9 Mon Sep 17 00:00:00 2001 From: whp98 <32877126+whp98@users.noreply.github.com> Date: Wed, 18 Sep 2024 14:46:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E5=8D=9A=E5=AE=A2=EF=BC=8C?= =?UTF-8?q?=E6=97=B6=E9=97=B4:2024/09/18=2014:46:34?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- blogPublish.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/blogPublish.sh b/blogPublish.sh index ac9e84835..b63a4dc5d 100644 --- a/blogPublish.sh +++ b/blogPublish.sh @@ -1,5 +1,7 @@ #!/bin/bash +nvm use 18 echo `date +'%Y/%m/%d %H:%M:%S'` echo "开始发布"; git fetch;pnpm run docs:build;git pull;pnpm run docs:build;git add .;pnpm run docs:build;git commit -m "发布博客,时间:`date +'%Y/%m/%d %H:%M:%S'`"; git push; -echo "发布完成"; \ No newline at end of file +echo "发布完成"; +nvm use 16 \ No newline at end of file