diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..45ddf0a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +site/ diff --git a/makefile b/makefile new file mode 100644 index 0000000..31b2d88 --- /dev/null +++ b/makefile @@ -0,0 +1,13 @@ +DEST := /var/www/wiki +REMOTE := hbbs.decentral1.se +RSYNC := rsync -chavzP --rsync-path="sudo -su www-data rsync" +SRC := site/* + + +.PHONY: build +build: + @mkdocs build + +.PHONY: publish +publish: build + $(RSYNC) $(SRC) $(REMOTE):$(DEST)