Deploy to google cloud bucket

This commit is contained in:
Jeremy Wall 2020-04-12 18:01:03 -04:00
parent 43d7def252
commit 2b557a9c7b
2 changed files with 17 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
public/*
themes/*/.git
themes/*/.git
.built

15
Makefile Normal file
View File

@ -0,0 +1,15 @@
build: content/.built
all: build deploy
content/.built:
zola build -o public/
touch content/.built
deploy: build
cd public
gsutil -m rsync -d -r public gs://jeremy.marzhillstudios.com/
clean:
rm -f content/.built
rm -rf generated/*