Made sure jekyll builds with production settings

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-12-29 10:00:55 +01:00
parent 16a7ee0edf
commit ca01960fe3

View File

@ -10,7 +10,7 @@ env:
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
sudo: false
cache: bundler
script: bundle exec jekyll build && bundle exec htmlproofer ./_site --disable-external
script: JEKYLL_ENV=production bundle exec jekyll build && bundle exec htmlproofer ./_site --disable-external
before_deploy:
- openssl aes-256-cbc -K $encrypted_518a90de15e0_key -iv $encrypted_518a90de15e0_iv
-in deploy_ed25519.enc -out /tmp/deploy_ed25519 -d
@ -24,5 +24,4 @@ deploy:
script: scripts/deploy.sh
on:
branch:
- master
- 2.0
- master