Browse Source

Add .gitlab-ci.yml

master
Nicolas Petton 3 years ago
parent
commit
eff25334ec
1 changed files with 28 additions and 0 deletions
  1. +28
    -0
      .gitlab-ci.yml

+ 28
- 0
.gitlab-ci.yml View File

@@ -0,0 +1,28 @@
image: ruby:2.3

variables:
JEKYLL_ENV: production

before_script:
- bundle install

test:
stage: test
script:
- bundle exec jekyll build -d test
artifacts:
paths:
- test
except:
- master

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


Loading…
Cancel
Save