.gitlab-ci.yml 431 Bytes
Newer Older
Tomas's avatar
Tomas committed
1 2 3 4 5 6 7 8 9 10 11 12
image: privacybydesign/ruby:latest

cache:
  key: $CI_COMMIT_REF_SLUG
  paths:
  - vendor/ruby

stages:
  - build

before_script:
  - set -euxo pipefail
13
  - gem install bundler -v "~>1.0"
14
  - bundle install --path vendor
Tomas's avatar
Tomas committed
15 16 17 18

site:
  stage: build
  artifacts:
19 20
    # Disabling artifact expiry is not supported yet, so make
    expire_in: 100 year
Tomas's avatar
Tomas committed
21 22 23
    paths:
      - _site/*
  script:
24
    - bundle exec jekyll build --config _config.yml