From d54b2441e15f2f59e989bd479a3b49b62232e1f6 Mon Sep 17 00:00:00 2001 From: Frederick Yin Date: Sun, 21 Jan 2024 23:32:31 -0500 Subject: Makefile: fix preview and add rule for git push --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3d95039..989ee67 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,13 @@ -all: build deploy +all: build deploy push build: mkdocs build preview: - mkdocs serve & xdg-open "http://localhost:8000" + mkdocs serve & sleep 1 && xdg-open "http://localhost:8000" deploy: rsync -rv --delete ./site/* www@fkfd.me:www/blog/ + +push: + git push -- cgit v1.2.3