1# This file is a template, and might need editing before it works on your project.
2# Template project: https://gitlab.com/pages/jekyll
3# Docs: https://docs.gitlab.com/ce/pages/
4image: ruby:2.6
5
6variables:
7 JEKYLL_ENV: production
8 LC_ALL: C.UTF-8
9
10before_script:
11 - gem install bundler
12 - bundle install
13
14test:
15 stage: test
16 script:
17 - bundle exec jekyll build -d test
18 artifacts:
19 paths:
20 - test
21 except:
22 - master
23
24pages:
25 stage: deploy
26 script:
27 - bundle exec jekyll build -d public
28 artifacts:
29 paths:
30 - public
31 only:
32 - master