diff options
| -rw-r--r-- | publish.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,9 +4,9 @@ rm .hugo_build.lock # 执行 Hugo 构建和部署 commit_date=$(date +"%Y-%m-%d %H:%M:%S") -cd ~/blog/ +cd ~/glowisle/ hugo --cleanDestinationDir --gc --minify -cd ~/blog/public || exit 1 +cd ~/glowisle/public || exit 1 git add . git commit -m "auto update: $commit_date" git push origin main |
