image: ruby:2.4 variables: JEKYLL_ENV: production LC_ALL: C.UTF-8 before_script: - bundle install test: stage: test script: - bundle exec jekyll build -d test artifacts: paths: - test except: - master pages: stage: deploy script: - cp _data/en/home.yml _data/home.yml - bundle exec jekyll build -d public - bundle exec jekyll build -d public/en - cp _data/es/home.yml _data/home.yml - bundle exec jekyll build -d public/es artifacts: paths: - public only: - master