.gitlab-ci.yml 435 Bytes
Newer Older
1
image: ruby:2.5-slim
Christophe Trefois's avatar
Christophe Trefois committed
2
3
4
5
6

variables:
  JEKYLL_ENV: production

before_script:
7
  - bundle version
8
  - gem install bundler -v 1.16.6
9
  - bundle version
Yohan Jarosz's avatar
Yohan Jarosz committed
10
  - bundle install && bundle update
Christophe Trefois's avatar
Christophe Trefois committed
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

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
  artifacts:
    paths:
    - public
  only:
  - master