update scripts and chain them

This commit is contained in:
sakrecoer 2026-08-16 23:19:27 +02:00
parent 4f6779e968
commit 7561d08504
2 changed files with 218 additions and 1 deletions

View file

@ -12,8 +12,11 @@ echo "" >> $LOG_FILE
echo "" >> $LOG_FILE
cd $SITE_DIR
/usr/bin/rm $SITE_DIR/content/playlist/*
/usr/bin/git pull >> $LOG_FILE
/usr/bin/bash fetch-and-convert.sh >> $LOG_FILE
/usr/bin/bash $SITE_DIR/fetch-and-convert.sh >> $LOG_FILE
/usr/bin/bash $SITE_DIR/fetch-playlist.sh >> $LOG_FILE
/usr/bin/bash $SITE_DIR/generate-playlist-pages.sh >> $LOG_FILE
/usr/local/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.