diff options
| author | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-04-03 08:12:59 +0200 |
|---|---|---|
| committer | Martin Kagamino Lehoux <martin@lehoux.net> | 2026-05-24 17:27:34 +0200 |
| commit | 665c954cb0afcb598775f0b676ff4736230b6ddf (patch) | |
| tree | e4b03a1ca1c7d7efc0f872268d965d4bdf8d9cff /mise.toml | |
| parent | 726ada1d4b103e55da9d8c126ed62da212326a72 (diff) | |
Mise toml
Diffstat (limited to 'mise.toml')
| -rw-r--r-- | mise.toml | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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/", ] |
