Moved lang env variables to command section and added debug command
the build failed Details

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
Jim Martens 2018-07-04 10:06:38 +02:00
parent ed27ffea3f
commit 4e3a60abb0
1 changed files with 3 additions and 3 deletions

View File

@ -11,10 +11,10 @@ pipeline:
image: ruby
environment:
- BUNDLE_PATH=/drone/.bundle
- LANG="C.UTF-8"
- LC_ALL="C.UTF-8"
- LANGUAGE="C.UTF-8"
commands:
- export LANG="C.UTF-8"
- export LC_ALL="C.UTF-8"
- ruby -e 'puts STDIN.external_encoding' # figure out the encoding used
- bundle install
- JEKYLL_ENV=production bundle exec jekyll build && bundle exec htmlproofer _site/ --disable-external
rebuild-cache: