17 lines
479 B
Makefile
Raw Normal View History

2020-04-19 13:26:11 -04:00
content := $(wildcard content/*.md themes/even/sass/*.scss themes/even/static/* themes/even/templates/*.html themes/even/templates/categories/*.html themes/even/templates/shortcodes/*.html themes/even/templates/tags/*.html)
2020-04-12 18:01:03 -04:00
build: content/.built
all: build deploy
2020-04-19 13:26:11 -04:00
content/.built: $(content)
2020-04-12 18:01:03 -04:00
zola build -o public/
touch content/.built
2020-04-19 13:26:11 -04:00
publish: build
2020-04-12 18:01:03 -04:00
cd public
gsutil -m rsync -d -r public gs://jeremy.marzhillstudios.com/
clean:
rm -f content/.built
rm -rf generated/*