From 6ee0d090e34bc301ec662d16c8204dc7fe9671e6 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Mon, 20 Oct 2025 18:37:21 -0300 Subject: [PATCH] khatru: deploy docs to netlify. --- khatru/docs/.gitignore | 1 + khatru/docs/justfile | 3 +++ khatru/docs/netlify.toml | 8 ++++++++ 3 files changed, 12 insertions(+) create mode 100644 khatru/docs/netlify.toml diff --git a/khatru/docs/.gitignore b/khatru/docs/.gitignore index 3c3629e..7aa6f9f 100644 --- a/khatru/docs/.gitignore +++ b/khatru/docs/.gitignore @@ -1 +1,2 @@ node_modules +.netlify diff --git a/khatru/docs/justfile b/khatru/docs/justfile index 1f160a9..2a1bee2 100644 --- a/khatru/docs/justfile +++ b/khatru/docs/justfile @@ -6,3 +6,6 @@ dev: build: vitepress build cp logo.png .vitepress/dist/ + +deploy: build + netlify deploy .vitepress/dist --prod diff --git a/khatru/docs/netlify.toml b/khatru/docs/netlify.toml new file mode 100644 index 0000000..1706e4b --- /dev/null +++ b/khatru/docs/netlify.toml @@ -0,0 +1,8 @@ +[build] +publish = ".vitepress/dist" +command = "ls .vitepress/dist/" + +[[redirects]] +from = "/*" +to = "/index.html" +status = 200