diff options
| author | nsfisis <nsfisis@gmail.com> | 2023-03-15 02:27:58 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2023-03-15 02:27:58 +0900 |
| commit | 60531fea01104c7056bbe11bdcb0379c9e5ac2d4 (patch) | |
| tree | 5b2a7cc71440114b8c878a3d81fe680fee1fbcf0 | |
| parent | f0b8b453003170d4fbbf442efc7d0700391453f9 (diff) | |
| download | nsfisis.dev-60531fea01104c7056bbe11bdcb0379c9e5ac2d4.tar.gz nsfisis.dev-60531fea01104c7056bbe11bdcb0379c9e5ac2d4.tar.zst nsfisis.dev-60531fea01104c7056bbe11bdcb0379c9e5ac2d4.zip | |
chore: add `make update_blog` task
| -rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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' |
