mirror of
https://github.com/adulau/art.git
synced 2024-11-22 10:07:08 +00:00
Update .gitlab-ci.yml
This commit is contained in:
parent
77e32c5706
commit
e05ff34985
1 changed files with 5 additions and 16 deletions
|
@ -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 a new issue