.gitlab-ci.yml 357 Bytes
Newer Older
Davide Depau's avatar
Davide Depau committed
1 2 3 4 5
image: jekyll/builder

variables:
  JEKYLL_ENV: production
  LC_ALL: C.UTF-8
6
  GIT_SUBMODULE_STRATEGY: recursive
Davide Depau's avatar
Davide Depau committed
7 8 9 10

pages:
  stage: deploy
  script:
Davide Depau's avatar
Davide Depau committed
11
  - bundle install
12
  - ./.ci_fix_baseurl.sh
Davide Depau's avatar
Davide Depau committed
13 14 15 16
  - jekyll build -d public
  artifacts:
    paths:
    - public
Davide Depau's avatar
Davide Depau committed
17 18 19
  cache:
    key: gems
    paths:
Davide Depau's avatar
Davide Depau committed
20 21
      - "vendor/bundle"
      - "$HOME/.bundle"
Davide Depau's avatar
Davide Depau committed
22 23 24
  only:
  - master