diff options
author | frosty <passedgoadngot200@disroot.org> | 2025-09-16 18:24:13 -0400 |
---|---|---|
committer | frosty <passedgoadngot200@disroot.org> | 2025-09-16 18:24:13 -0400 |
commit | 06ba136a9d4ea6b96780cf33d84ec72a9eaefca4 (patch) | |
tree | 27e940c9a07ee65098893fa9be250b19deeaec75 | |
parent | 01a2f10cfa100996e18e52f245f0be2baf545a00 (diff) | |
download | www-06ba136a9d4ea6b96780cf33d84ec72a9eaefca4.tar.gz www-06ba136a9d4ea6b96780cf33d84ec72a9eaefca4.zip |
add deploy target to Makefile
-rw-r--r-- | Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,7 +1,9 @@ .POSIX: .SUFFIXES: -HUGO ?= hugo +HUGO ?= hugo +RSYNC ?= rsync -avzP --delete --rsync-path='doas -u nginx -- rsync' +REMOTE ?= blizzard:/var/www/home/ all: build @@ -14,4 +16,7 @@ build: clean serve: clean @$(HUGO) serve --disableFastRender -.PHONY: all clean build serve +deploy: build + @$(RSYNC) public/ $(REMOTE) + +.PHONY: all clean build serve deploy |