diff options
author | Griffin Smith <grfn@gws.fyi> | 2020-06-16T00·44-0400 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2020-06-16T00·47+0000 |
commit | ef390b26eebeae2c454c4116edc1d6255eb7dcf3 (patch) | |
tree | 015378f29af84a62d08d49426cfe6c0b7b406c29 /users/glittershark/gws.fyi/Makefile | |
parent | 61e03e2d9992895aada33f76bf50d4d338d2cc02 (diff) |
feat(gws.fyi): add current source of gws.fyi r/981
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 <grfn@gws.fyi>
Diffstat (limited to 'users/glittershark/gws.fyi/Makefile')
-rw-r--r-- | users/glittershark/gws.fyi/Makefile | 22 |
1 files changed, 22 insertions, 0 deletions
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" |