26 lines
482 B
YAML
26 lines
482 B
YAML
# This file is a template, and might need editing before it works on your project.
|
|
# Full project: https://gitlab.com/pages/jekyll
|
|
image: ruby:2.3
|
|
|
|
test:
|
|
stage: test
|
|
script:
|
|
- gem install jekyll jekyll-sitemap jekyll-seo-tag
|
|
- jekyll build -d test
|
|
artifacts:
|
|
paths:
|
|
- test
|
|
except:
|
|
- master
|
|
|
|
pages:
|
|
stage: deploy
|
|
script:
|
|
- gem install jekyll jekyll-sitemap jekyll-seo-tag
|
|
- jekyll build -d public
|
|
artifacts:
|
|
paths:
|
|
- public
|
|
only:
|
|
- master
|