13 lines
191 B
Bash
Executable File
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/
|