🛠 Ensure local yml always exists
This commit is contained in:
parent
e0ee48a546
commit
cb5ba1429d
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -9,7 +9,10 @@ all: serve
|
|||
build-image:
|
||||
docker build -t $(IMAGE) .
|
||||
|
||||
_site/index.html: build-image
|
||||
_config.local.yml:
|
||||
touch $@
|
||||
|
||||
_site/index.html: build-image _config.local.yml
|
||||
docker run -u $(shell id -u) --rm -v $(shell pwd):/app -w /app $(IMAGE) bundle exec jekyll build -c '_config.yml,_config.local.yml'
|
||||
|
||||
serve: _site/index.html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue