about summary refs log tree commit diff
path: root/users/grfn/web/Makefile
diff options
context:
space:
mode:
authorAspen Smith <root@gws.fyi>2023-11-06T21·02-0500
committerclbot <clbot@tvl.fyi>2023-11-06T21·17+0000
commitedea6dadddbc8d8484d5790dd3aed787630b8258 (patch)
tree5ecdf220df5a91cdf9bb4bbe51ac7cfc519e6b4f /users/grfn/web/Makefile
parent97b63a84685442aebc859d1eec6efc094a810119 (diff)
feat(users/grfn/web): Purge cloudflare cache on deploy r/6969
Change-Id: Iebaff500bc7bbb92ff4344f185a3b446f9ce9eb9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9975
Autosubmit: grfn <grfn@gws.fyi>
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/grfn/web/Makefile')
-rw-r--r--users/grfn/web/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/users/grfn/web/Makefile b/users/grfn/web/Makefile
index 9da503fa26a4..0248685386c6 100644
--- a/users/grfn/web/Makefile
+++ b/users/grfn/web/Makefile
@@ -1,7 +1,13 @@
-.PHONY: deploy
+.PHONY: deploy purge_cf do_deploy renew backup open
+
+deploy: do_deploy purge_cf
+
+purge_cf:
+	@$(shell nix-build `git rev-parse --show-toplevel` -A 'users.grfn.web.purge-cf')/bin/purge-cf.sh
+
+do_deploy:
+	@$(shell nix-build `git rev-parse --show-toplevel` -A 'users.grfn.web')/bin/deploy.sh
 
-deploy:
-	@$(shell nix-build `git rev-parse --show-toplevel` -A 'users.grfn.web')
 
 renew:
 	@echo Renewing...