diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-07-07 22:25:31 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-07-07 22:27:58 +0200 |
commit | b2815c89edee793c3066121c90c9c81ef8a54fe2 (patch) | |
tree | 01d43e8ab4f7fe11d67877daeaf1496af46b334d /Makefile | |
parent | 1cfea8a1dbc4f04dbec4ac0ae834cd621e9bbbf2 (diff) |
Replace script with makefile
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..06a2bfc --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +all: build + +build: + nix-shell -p zola --run "zola build" + +watch: + nix-shell -p zola --run "zola watch" + +deploy: build + rsync -arP ./public/ as:/srv/knowledge.beyermatthi.as/ + +.PHONY: build watch deploy |