From d04bdb9abc6eeabbf40af39390ec8f4c157363b9 Mon Sep 17 00:00:00 2001 From: Steven Vandevelde Date: Thu, 29 May 2025 23:46:05 +0200 Subject: [PATCH] chore: deploy to netlify --- .gitignore | 1 + deno.json | 1 + netlify.toml | 3 +++ 3 files changed, 5 insertions(+) create mode 100644 netlify.toml diff --git a/.gitignore b/.gitignore index be9edd0..e251f64 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .astro .dprc +.netlify dist node_modules public/applets/ diff --git a/deno.json b/deno.json index 69df3a6..2ee230f 100644 --- a/deno.json +++ b/deno.json @@ -10,6 +10,7 @@ "dependencies": ["astro:build"] }, "copy-types": "deno run --allow-read --allow-write tasks/copy-types.ts", + "deploy:netlify": "npx netlify deploy --prod", "dev": "astro dev" } } diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..9185298 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,3 @@ +[build] +command = "deno run build" +publish = "dist" -- knotmirror 0.0.1