.gitlab-ci.yml 432 Bytes
Newer Older
Houtan Bastani's avatar
Houtan Bastani committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
variables:
  TERM: linux
  JEKYLL_ENV: production

before_script:
  - export LC_ALL="C.UTF-8"
  - export LANG="en_US.UTF-8"
  - export LANGUAGE="en_US.UTF-8"
  - export GEM_HOME=$HOME/gems
  - export PATH=$HOME/gems/bin:$PATH
  - gem install jekyll
  - gem install bundler
  - bundle install

job:
  stage: build
  tags:
    - jekyll
  script:
    - bundle exec jekyll build
  artifacts:
    paths:
    - _site
  only:
  - master