summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2024-01-21 23:32:31 -0500
committerFrederick Yin <fkfd@fkfd.me>2024-01-21 23:32:31 -0500
commitd54b2441e15f2f59e989bd479a3b49b62232e1f6 (patch)
tree05153e09b6f6aacedd4d15f05c241248e9fd6d7e /Makefile
parent0eacfb5e8fb767585316576c3740917c2653f6ad (diff)
Makefile: fix preview and add rule for git push
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files 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