butter-kanglam-ui/.gitlab-ci.yml

31 lines
442 B
YAML

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:
- bundle exec jekyll build -d public
- cp _data/es/home.yml _data/home.yml
- bundle exec jekyll build -d public/es
artifacts:
paths:
- public
only:
- master