You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blog/.gitlab-ci.yml

26 lines
526 B

6 years ago
# 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.6
6 years ago
test:
stage: test
script:
3 years ago
- gem install 'jekyll:4.0.0' jekyll-sitemap 'forwardable:1.2.0'
- jekyll build -d test --future
6 years ago
artifacts:
paths:
- test
except:
- master
pages:
stage: deploy
script:
3 years ago
- gem install 'jekyll:4.0.0' jekyll-sitemap 'forwardable:1.2.0'
- jekyll build -d public --future
6 years ago
artifacts:
paths:
- public
only:
- master