we need to be explicit about what hugo does
it's this, or cron gets wonky
This commit is contained in:
parent
fa211ac896
commit
4fdcef9207
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ echo "" >> $LOG_FILE
|
||||||
cd $SITE_DIR
|
cd $SITE_DIR
|
||||||
/usr/bin/git pull >> $LOG_FILE
|
/usr/bin/git pull >> $LOG_FILE
|
||||||
/usr/bin/bash fetch-and-convert.sh >> $LOG_FILE
|
/usr/bin/bash fetch-and-convert.sh >> $LOG_FILE
|
||||||
/snap/bin/hugo --cleanDestinationDir --minify >> $LOG_FILE
|
/snap/bin/hugo build --cleanDestinationDir --minify >> $LOG_FILE
|
||||||
|
|
||||||
# Optional and potentially dangerous: the generator will creates a random file name (fingerprint) for css and js to be picked up when you do changes to it. If you don't remove them, over time your directory will bloat. A new file is only created if there are changes.
|
# Optional and potentially dangerous: the generator will creates a random file name (fingerprint) for css and js to be picked up when you do changes to it. If you don't remove them, over time your directory will bloat. A new file is only created if there are changes.
|
||||||
# This can be dangerous because if you set the webroot wrong, you're going to nuke stuff you wasn't supposed to.
|
# This can be dangerous because if you set the webroot wrong, you're going to nuke stuff you wasn't supposed to.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue