Luke Murphy
4 years ago
2 changed files with 14 additions and 0 deletions
@ -0,0 +1 @@ |
|||
site/ |
@ -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) |
Loading…
Reference in new issue