Update .gitlab-ci.yml

This commit is contained in:
Andrew Banchich 2016-12-10 04:28:08 +00:00
parent 77e32c5706
commit e05ff34985

View file

@ -1,25 +1,14 @@
# 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 build -d test
artifacts:
paths:
- test
except:
- master
pages:
stage: deploy
forty_jekyll_theme:
stage: build
script:
- gem install jekyll
- jekyll build -d public
- gem build forty_jekyll_theme.gemspec
artifacts:
paths:
- public
- "forty_jekyll_theme-*.gem"
only:
- master