.gitlab-ci.yml 325 Bytes
Newer Older
Caner Candan's avatar
Caner Candan committed
1 2
image: ruby:2.3

3 4 5 6 7 8 9
cache:
  paths:
    - vendor/

before_script:
  - bundle install --path vendor

Caner Candan's avatar
Caner Candan committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
test:
  stage: test
  script:
  - jekyll build -d test
  artifacts:
    paths:
    - test
  except:
  - master

pages:
  stage: deploy
  script:
  - jekyll build -d public
  artifacts:
    paths:
    - public
  only:
  - master