diff --git a/.gitignore b/.gitignore index fc47aff..0fd5443 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ public/* -themes/*/.git \ No newline at end of file +themes/*/.git +.built \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..eef64ea --- /dev/null +++ b/Makefile @@ -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/*