From f0c50fe08c2f902e8c603bc42bb69d7a13c28959 Mon Sep 17 00:00:00 2001 From: Lorezz Date: Mon, 4 Nov 2024 17:23:12 +0100 Subject: [PATCH] test deploy on netlify --- .gitignore | 4 +++- netlify.toml | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 netlify.toml diff --git a/.gitignore b/.gitignore index 3ccbc1c4..e1a2f99f 100644 --- a/.gitignore +++ b/.gitignore @@ -25,4 +25,6 @@ dist-ssr .env src/generated -*.tsbuildinfo \ No newline at end of file +*.tsbuildinfo +# Local Netlify folder +.netlify diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 00000000..82a64c2f --- /dev/null +++ b/netlify.toml @@ -0,0 +1,21 @@ +# example netlify.toml +[build] + command = "npm run build" + functions = "netlify/functions" + publish = "dist" + + ## Uncomment to use this redirect for Single Page Applications like create-react-app. + ## Not needed for static site generators. + #[[redirects]] + # from = "/*" + # to = "/index.html" + # status = 200 + + ## (optional) Settings for Netlify Dev + ## https://github.com/netlify/cli/blob/main/docs/netlify-dev.md#project-detection + #[dev] + # command = "yarn start" # Command to start your dev server + # port = 3000 # Port that the dev server will be listening on + # publish = "dist" # Folder with the static content for _redirect file + + ## more info on configuring this file: https://ntl.fyi/file-based-build-config