Files
myblog/deploy.sh
T
2026-02-20 20:51:38 +08:00

13 lines
191 B
Bash
Executable File

#!/bin/sh
BLOGDIR=/var/www/myblog
cd $BLOGDIR
/usr/bin/git pull origin master
# /usr/bin/git submodule update --init --recursive
/usr/bin/hugo --gc --minify
chown -R caddy:caddy public/