.gitlab-ci.yml 359 Bytes
Newer Older
Eliot Berriot's avatar
Eliot Berriot committed
1
image: eliotberriot/jekyll:latest
Eliot Berriot's avatar
Eliot Berriot committed
2 3 4

pages:
  script:
Eliot Berriot's avatar
Eliot Berriot committed
5
  - curl -L -o admin/netlify-cms.js https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js
6
  - bundle install --path vendor/bundle
Eliot Berriot's avatar
Eliot Berriot committed
7
  - bundle exec jekyll build -d public --config "_config.yml,_config.prod.yml"
Eliot Berriot's avatar
Eliot Berriot committed
8

Eliot Berriot's avatar
Eliot Berriot committed
9 10 11
  artifacts:
    paths:
    - public
Eliot Berriot's avatar
Eliot Berriot committed
12

Eliot Berriot's avatar
Eliot Berriot committed
13 14 15 16
  cache:
    paths:
    - vendor/

Eliot Berriot's avatar
Eliot Berriot committed
17 18
  only:
    - master