diff --git a/.build.yml b/.build.yml index 118d9bd..bd8aae6 100644 --- a/.build.yml +++ b/.build.yml @@ -25,5 +25,6 @@ tasks: export PATH=~/bin:$PATH make clean deploy cp mentions.json ~/mentions.json + make WWW_ROOT=/var/www/seirdy.onion HUGO_BASEURL='http://wgq3bd2kqoybhstp77i3wrzbfnsyd27wt34psaja4grqiezqircorkyd.onion/' clean deploy-html artifacts: - mentions.json diff --git a/Makefile b/Makefile index 3d5729d..6a7d3db 100644 --- a/Makefile +++ b/Makefile @@ -84,7 +84,7 @@ mentions.json: hugo rm mentions.json.unfiltered .PHONY: deploy-html -deploy-html: build mentions.json +deploy-html: build rsync $(RSYNCFLAGS) --exclude 'gemini' --exclude '*.gmi' --exclude-from .rsyncignore $(OUTPUT_DIR)/ $(WWW_RSYNC_DEST) --delete .PHONY: deploy-gemini @@ -93,7 +93,7 @@ deploy-gemini: hugo rsync $(RSYNCFLAGS) $(OUTPUT_DIR)/posts/gemini.xml $(GEMINI_RSYNC_DEST)/feed.xml .PHONY: deploy -deploy: deploy-html deploy-gemini +deploy: deploy-html mentions.json deploy-gemini ## stuff for the staging server .PHONY: test-staging