update: Prepare...
This commit is contained in:
parent
b008a725a5
commit
e2ec63f407
1 changed files with 5 additions and 1 deletions
|
|
@ -2,8 +2,12 @@
|
|||
|
||||
git pull
|
||||
|
||||
if [ -d './static/images/generated/']; then
|
||||
rm -r './static/images/generated/'
|
||||
fi
|
||||
|
||||
find src -iname '*.sh' | while read -r __file; do
|
||||
time ./${__file}
|
||||
time ./${__file} "$(dirname "${__file}")/"
|
||||
done
|
||||
|
||||
HUGO_ENV=production hugo --gc --minify
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue