mirror of
https://github.com/devolitalia/forty-jekyll-theme
synced 2025-01-24 14:11:23 +01:00
Update .gitlab-ci.yml
This commit is contained in:
parent
77e32c5706
commit
e05ff34985
@ -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
|
image: ruby:2.3
|
||||||
|
|
||||||
test:
|
forty_jekyll_theme:
|
||||||
stage: test
|
stage: build
|
||||||
script:
|
|
||||||
- gem install jekyll
|
|
||||||
- jekyll build -d test
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- test
|
|
||||||
except:
|
|
||||||
- master
|
|
||||||
|
|
||||||
pages:
|
|
||||||
stage: deploy
|
|
||||||
script:
|
script:
|
||||||
- gem install jekyll
|
- gem install jekyll
|
||||||
- jekyll build -d public
|
- jekyll build -d public
|
||||||
|
- gem build forty_jekyll_theme.gemspec
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
- "forty_jekyll_theme-*.gem"
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
Loading…
Reference in New Issue
Block a user