summaryrefslogtreecommitdiffstats
path: root/publish.sh
diff options
context:
space:
mode:
authorVerdant <i@yingyu5658.me>2026-02-28 21:44:04 +0800
committerGitHub <noreply@github.com>2026-02-28 21:44:04 +0800
commitd369dacf5bad0079d75cf65e1dcfe01b4a313364 (patch)
tree089440f5ecaf79c836d85d5ac68782ec5280f77f /publish.sh
parent5e57e61a0e42b269c6e2f9d9ef067253c911f7a4 (diff)
parent96b88e99201b4aabd3eabf0453ab75a5f34d17df (diff)
downloadblog-d369dacf5bad0079d75cf65e1dcfe01b4a313364.tar.gz
blog-d369dacf5bad0079d75cf65e1dcfe01b4a313364.zip
Merge pull request #2 from yingyu5658/refactor/style
Refactor/style
Diffstat (limited to 'publish.sh')
-rw-r--r--publish.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/publish.sh b/publish.sh
index aac78cf..3c12d5f 100644
--- 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 ~/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