website/.gitlab-ci.yml

22 lines
410 B
YAML
Raw Normal View History

2017-02-11 17:15:33 +00:00
build site:
2017-02-11 19:05:35 +00:00
image: jekyll/jekyll:pages
2017-02-11 17:15:33 +00:00
stage: build
script:
- bundle install --path=vendor
- bundle exec jekyll build
- mv _site xmppdk
artifacts:
expire_in: 1 month
paths:
2017-02-11 19:05:35 +00:00
- xmppdk
test site:
image: mesosphere/linkchecker
stage: test
script:
- apt-get update && apt-get install busybox
- cd xmppdk
- busybox httpd -p 4000
- linkchecker http://localhost:4000/