diff --git a/Makefile b/Makefile index be3d406..d7105e6 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,11 @@ default: get-feeds build .PHONY: build build: index.gmi +.PHONY:deploy +deploy: + printf 'cd emilis\nput index.gmi\n' \ + | sftp -b - gemini.circumlunar.space + .PHONY: get-feeds get-feeds: @@ -47,6 +52,7 @@ index.gmi: \ }' sorted.gmi \ | tee -a "$@" cat footer.gmi >> "$@" + date +'Updated: %FT%T%:z' >> "$@" sorted.gmi: downloaded.gmi