mirror of
https://github.com/kaboomserver/website.git
synced 2024-12-22 15:55:04 +00:00
14 lines
318 B
Bash
14 lines
318 B
Bash
|
#!/bin/bash
|
||
|
cd $HOME/build-websites/kaboom-website/
|
||
|
rm Gemfile.lock
|
||
|
bundle install
|
||
|
if jekyll build --destination $HOME/html/kaboom.pw/; then
|
||
|
cd $HOME/html/kaboom.pw/
|
||
|
rm -rf *.br
|
||
|
rm -rf *.gz
|
||
|
for file in `find . -type f -name '*'`; do
|
||
|
$HOME/build-websites/zopfli $file
|
||
|
$HOME/build-websites/brotli $file
|
||
|
done
|
||
|
fi
|