diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-09-27 15:08:34 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-09-27 15:08:34 +0200 |
commit | 8fe5387c47196d09063e12ca6b9ad768ad4849b0 (patch) | |
tree | dc75df123d86c4027b9fb18218d1bafdc13819fe /Makefile | |
parent | 17278427d7e7eecd95c8bf808501188342cd8435 (diff) | |
download | rgoncalves.se-8fe5387c47196d09063e12ca6b9ad768ad4849b0.tar.gz |
all: Bump to version 3 of static site generation
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -1,12 +1,7 @@ .POSIX: -BIN := ./bin -SRC := ./src -OUT := ./out -TMP := ./tmp REMOTE := root@dc0 REMOTE_DIR := /var/www/htdocs/rgoncalves.se -BASE_URL = https://rgoncalves.se .PHONY: all \ website \ @@ -14,15 +9,12 @@ BASE_URL = https://rgoncalves.se all: clean website -local: clean - BASE_URL=$$PWD/$(OUT) $(BIN)/ssg - website: clean - BASE_URL=$(BASE_URL) $(BIN)/ssg + ./bin/ssg deploy: website - rsync -e ssh -avz --delete $(OUT)/ $(REMOTE):$(REMOTE_DIR) + rsync -e ssh -avz --delete out / $(REMOTE):$(REMOTE_DIR) ssh $(REMOTE) chown -R www:www $(REMOTE_DIR) clean: - - rm -r $(OUT) $(TMP)/* + - rm -r out tmp |