From ef390b26eebeae2c454c4116edc1d6255eb7dcf3 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 15 Jun 2020 20:44:06 -0400 Subject: feat(gws.fyi): add current source of gws.fyi This will soon be replaced with a pile of org, but for now- HTML! Change-Id: I54c15d5734fd3662ea4916553e0cd1b32cc0681f Reviewed-on: https://cl.tvl.fyi/c/depot/+/395 Reviewed-by: glittershark --- users/glittershark/gws.fyi/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 users/glittershark/gws.fyi/Makefile (limited to 'users/glittershark/gws.fyi/Makefile') diff --git a/users/glittershark/gws.fyi/Makefile b/users/glittershark/gws.fyi/Makefile new file mode 100644 index 000000000000..d483e05d49c6 --- /dev/null +++ b/users/glittershark/gws.fyi/Makefile @@ -0,0 +1,22 @@ +.PHONY: deploy + +deploy: + @`nix-build --no-out-link` + +renew: + @echo Renewing... + @certbot renew \ + --manual \ + --preferred-challenges dns \ + --server https://acme-v02.api.letsencrypt.org/directory \ + --agree-tos \ + --work-dir $(shell pwd)/letsencrypt/work \ + --logs-dir $(shell pwd)/letsencrypt/logs \ + --config-dir $(shell pwd)/letsencrypt/config + +backup: + @tarsnap -cf $(shell uname -n)-letsencrypt-$(shell date +%Y-%m-%d_%H-%M-%S) \ + letsencrypt/ + +open: + $$BROWSER "http://gws.fyi" -- cgit 1.4.1