mirror of
https://github.com/BBaoVanC/bbaovanc.com.git
synced 2024-09-20 15:24:53 -05:00
BBaoVanC
7420561514
- Rename config.yaml to hugo.yaml - Load syntax CSS async - Load bobastyle.css async too - Lazy load images - Fix async loading of bobastyle.css
6 lines
266 B
Bash
Executable File
6 lines
266 B
Bash
Executable File
#!/bin/sh -x
|
|
rm -rf public/
|
|
HUGO_ENABLEMISSINGTRANSLATIONPLACEHOLDERS=true hugo --printI18nWarnings --printPathWarnings --baseURL "https://demo.bbaovanc.com/staging/$1"
|
|
./compress.sh
|
|
rsync -avPzc --delete-delay public/ bbaosrv:/var/www/demo.bbaovanc.com/staging/$1/
|