Adjusted deploy.

This commit is contained in:
starcells committed 2026-03-20 23:57:18 +08:00
1 parent 71e3fcea4b
commit f890c1902b
1 file changed
+3 -1
+3 -1
View File
@@ -4,7 +4,9 @@ BLOGDIR=/var/www/myblog
cd $BLOGDIR
/usr/bin/git pull origin master --force
/usr/bin/git fetch --all
/usr/bin/git reset --hard origin/master
/usr/bin/git pull
/usr/bin/git submodule update --init --recursive
/usr/bin/hugo --gc --minify