From c78992fcea92890c646f9b734c65347b9f72d1f4 Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sat, 3 Feb 2024 18:16:42 +0000 Subject: Add Makefile to simplify deploy --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..91873ba --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +.PHONY: deploy + +deploy: index.html + rsync -avzP --delete index.html ilvokhin.com:/srv/http/ilvokhin.com + ssh ilvokhin.com -- sudo chown -R http:http /srv/http/ilvokhin.com -- cgit v1.2.3-70-g09d2