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 <grfn@gws.fyi>
This commit is contained in:
Griffin Smith 2020-06-15 20:44:06 -04:00 committed by glittershark
parent 61e03e2d99
commit ef390b26ee
6 changed files with 80 additions and 0 deletions

View file

@ -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"