11 lines
203 B
Bash
Executable File
11 lines
203 B
Bash
Executable File
#!/bin/sh
|
|
|
|
cd /usr/local/www/myblog
|
|
|
|
/usr/local/bin/git pull origin master
|
|
# /usr/local/bin/git submodule update --init --recursive
|
|
|
|
/usr/local/bin/hugo --gc --minify
|
|
|
|
/usr/sbin/chown -R www:www public/
|