From 665c954cb0afcb598775f0b676ff4736230b6ddf Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Fri, 3 Apr 2026 08:12:59 +0200 Subject: Mise toml --- mise.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'mise.toml') diff --git a/mise.toml b/mise.toml index d7873fe..e7bffef 100644 --- a/mise.toml +++ b/mise.toml @@ -1,23 +1,28 @@ [tasks.build] +description = "Build the site" run = [ "rm -rf public/", - "hugo" + "hugo", ] [tasks.stats] +description = "Show word stats" depends = ["build"] run = "python3 scripts/stats.py public/wordstats.json" [tasks.deploy] +description = "Build and deploy to production" depends = ["build"] run = 'rsync --rsync-path="sudo rsync" -avz --delete public/ ubuntu@feed.kagamino.dev:/var/www/kagamino_blog/' [tasks.dev] +description = "Start dev server (with drafts)" run = "hugo server -D" [tasks.preprod] +description = "Build and serve locally for preprod" run = [ "rm -rf public/", "hugo -D -b http://localhost:8000/", - "python -m http.server -d public/" + "python -m http.server -d public/", ] -- cgit v1.3