diff options
| author | Verdant <i@yingyu5658.me> | 2026-02-28 21:44:04 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-28 21:44:04 +0800 |
| commit | d369dacf5bad0079d75cf65e1dcfe01b4a313364 (patch) | |
| tree | 089440f5ecaf79c836d85d5ac68782ec5280f77f /publish.sh | |
| parent | 5e57e61a0e42b269c6e2f9d9ef067253c911f7a4 (diff) | |
| parent | 96b88e99201b4aabd3eabf0453ab75a5f34d17df (diff) | |
| download | blog-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.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 |
