1
0
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2025-07-22 19:31:07 +00:00

Enable Brotli compression

- Compress file AOD.
- Let the server only use static files. 
- Don't add github-pages to jekyll-plugins group, due to the fact github-pages will behave differently when enabling production ENV.
- Adds an extra 10s for the `host` to use `./buid.sh` due to compressing all files.
- Resolves #2186
This commit is contained in:
Gusted
2021-01-12 20:27:59 +01:00
parent 2fcb959eb8
commit 49b7c15201
4 changed files with 21 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env sh
set -e # halt script on error
bundle exec jekyll build
JEKYLL_ENV=production bundle exec jekyll build