c8e8633639
Using a volume allows "caching" the bundled dependencies for jekyll. Created a "fresh" target for also removing volumes.
16 lines
368 B
YAML
16 lines
368 B
YAML
---
|
|
env:
|
|
- IMAGE="yadm/jekyll:2019-10-17"
|
|
language: minimal
|
|
services:
|
|
- docker
|
|
before_install:
|
|
- docker pull $IMAGE
|
|
- docker create -t --name yadm-website --entrypoint test/validate $IMAGE
|
|
- docker cp ./ yadm-website:/srv/jekyll
|
|
script:
|
|
- docker start yadm-website -a
|
|
branches: # necessary to force builds of gh-pages:
|
|
only:
|
|
- gh-pages
|
|
- "/.*/"
|