mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
Merge branch 'gzipcompress'
This commit is contained in:
commit
0b0fe286fa
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ do
|
||||||
|
|
||||||
# Update site and exit if site has been successfully built
|
# Update site and exit if site has been successfully built
|
||||||
if [ -e "$WORKDIR/_builddone" ]; then
|
if [ -e "$WORKDIR/_builddone" ]; then
|
||||||
|
find $WORKDIR/_site \( -iname '*.html' -o -iname '*.css' -o -iname '*.js' -o -iname '*.rss' -o -iname '*.xml' -o -iname '*.svg' -o -iname '*.ttf' \) -exec gzip -9 -k {} \;
|
||||||
rsync --delete -zrt $WORKDIR/_site/ $DESTDIR/
|
rsync --delete -zrt $WORKDIR/_site/ $DESTDIR/
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue