summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ce0c997e..480bceab 100644
--- a/Makefile
+++ b/Makefile
@@ -31,3 +31,9 @@ clean:
.PHONY: certbot
certbot:
docker-compose run --rm --entrypoint 'certbot certonly --register-unsafely-without-email --webroot -w /var/letsencrypt/www -d nsfisis.dev,blog.nsfisis.dev,www.nsfisis.dev' certbot
+
+.PHONY: update_blog
+update_blog:
+ cd vhosts/blog; git fetch --prune origin; git switch -d origin/main
+ git add vhosts/blog
+ git commit -m 'blog.nsfisis.dev: update'