aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x[-rw-r--r--]publish.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/publish.sh b/publish.sh
index 3c12d5f..aac78cf 100644..100755
--- a/publish.sh
+++ b/publish.sh
@@ -4,9 +4,9 @@ rm .hugo_build.lock
# 执行 Hugo 构建和部署
commit_date=$(date +"%Y-%m-%d %H:%M:%S")
-cd ~/glowisle/
+cd ~/blog/
hugo --cleanDestinationDir --gc --minify
-cd ~/glowisle/public || exit 1
+cd ~/blog/public || exit 1
git add .
git commit -m "auto update: $commit_date"
git push origin main