2019-03-20 01:53:14 -04:00
|
|
|
---
|
|
|
|
env:
|
2019-03-21 23:54:05 -04:00
|
|
|
- IMAGE="yadm/jekyll:latest"
|
2019-03-20 01:53:14 -04:00
|
|
|
language: minimal
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
before_install:
|
|
|
|
- docker pull $IMAGE
|
2019-03-21 23:54:05 -04:00
|
|
|
- docker create -t --name yadm-website --entrypoint test/validate $IMAGE
|
2019-03-20 01:53:14 -04:00
|
|
|
- docker cp ./ yadm-website:/srv/jekyll
|
|
|
|
script:
|
|
|
|
- docker start yadm-website -a
|
|
|
|
branches: # necessary to force builds of gh-pages:
|
|
|
|
only:
|
|
|
|
- gh-pages
|
|
|
|
- "/.*/"
|