diff options
Diffstat (limited to 'mise.toml')
| -rw-r--r-- | mise.toml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/mise.toml b/mise.toml new file mode 100644 index 0000000..360c6d7 --- /dev/null +++ b/mise.toml @@ -0,0 +1,21 @@ +[tools] +hugo-extended = "v0.157.0" +wrangler = "4.72.0" + +[tasks.clean] +description = "Clean already built static site" +run = "rm -rf public" +hide = true + +[tasks.build] +description = "Build static website" +run = "hugo" + +[tasks.serve] +description = "Server website with draft posts" +run = "hugo serve --buildDrafts" + +[tasks.deploy] +description = "Deploy to cloudflare" +run = "npx wrangler pages deploy public" +depends = ['clean', 'build'] |
