aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Kagamino Lehoux <martin@lehoux.net>2025-10-06 19:21:07 +0200
committerMartin Kagamino Lehoux <martin@lehoux.net>2025-10-06 19:30:11 +0200
commit8c084df1ae80eee451a2b0eb349ff334ed28bab6 (patch)
tree97c0e4861536bf75de591684c531dee072e13f82 /Makefile
parent2ea63cf9f2b5739245e6b91033f9e41fea6a3971 (diff)
Update script reference and build files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 64189a3..e6ca2da 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
deploy:
+ rm -rf public/
hugo
rsync --rsync-path="sudo rsync" -avz --delete public/ ubuntu@feed.kagamino.dev:/var/www/kagamino_blog/
@@ -6,5 +7,6 @@ dev:
hugo server -D
build:
+ rm -rf public/
hugo -D -b http://localhost:8000/
python -m http.server -d public/