documentazione/.gitlab-ci.yml

27 lines
350 B
YAML
Raw Normal View History

2018-12-16 12:54:02 +01:00
image: ruby:2.3
variables:
JEKYLL_ENV: production
test:
stage: test
script:
- sh ./var/build.sh
- bundle exec jekyll build -d test
artifacts:
paths:
- test
except:
- master
pages:
stage: deploy
script:
- sh ./var/build.sh
- bundle exec jekyll build -d public
artifacts:
paths:
- public
only:
- master