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:
parent
61e03e2d99
commit
ef390b26ee
6 changed files with 80 additions and 0 deletions
22
users/glittershark/gws.fyi/Makefile
Normal file
22
users/glittershark/gws.fyi/Makefile
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue