From 7c568ef4d5afa442121bf34076057196febc97c9 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Thu, 25 Mar 2021 18:42:15 -0500 Subject: [PATCH] Add Makefile --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9d04a74 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +all: public + +public: clean + hugo + +clean: + rm -rf public + +push: public + rsync -arvz -e 'ssh -p 2222' --progress --delete public/ bbaovanc.com:/var/www/bbaovanc/blog/ + +.PHONY: all clean