Skip to content

Commit

Permalink
发布博客,时间:2024/09/18 14:46:34
Browse files Browse the repository at this point in the history
  • Loading branch information
whp98 committed Sep 18, 2024
1 parent 251f9b9 commit b04597f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion blogPublish.sh
Original file line number Diff line number Diff line change
@@ -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 "发布完成";
echo "发布完成";
nvm use 16

0 comments on commit b04597f

Please sign in to comment.