diff options
author | Frederick Yin <fkfd@fkfd.me> | 2024-01-21 23:32:31 -0500 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2024-01-21 23:32:31 -0500 |
commit | d54b2441e15f2f59e989bd479a3b49b62232e1f6 (patch) | |
tree | 05153e09b6f6aacedd4d15f05c241248e9fd6d7e /Makefile | |
parent | 0eacfb5e8fb767585316576c3740917c2653f6ad (diff) |
Makefile: fix preview and add rule for git push
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |