Browse Source

Add deploy and ignore

master
Luke Murphy 4 years ago
parent
commit
796f116f1d
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 1
      .gitignore
  2. 13
      makefile

1
.gitignore

@ -0,0 +1 @@
site/

13
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)
Loading…
Cancel
Save