mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
c8e8633639
Using a volume allows "caching" the bundled dependencies for jekyll. Created a "fresh" target for also removing volumes.
17 lines
368 B
YAML
17 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
|
|
- "/.*/"
|