mirror of
https://github.com/adulau/art.git
synced 2024-11-22 01:57:06 +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
|
||||
|
||||
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
|
||||
- master
|
Loading…
Reference in a new issue