summaryrefslogtreecommitdiff
path: root/docs/netlify.toml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/netlify.toml')
-rw-r--r--docs/netlify.toml43
1 files changed, 43 insertions, 0 deletions
diff --git a/docs/netlify.toml b/docs/netlify.toml
new file mode 100644
index 000000000..092a0f1e1
--- /dev/null
+++ b/docs/netlify.toml
@@ -0,0 +1,43 @@
+[build]
+ publish = "public"
+ functions = "functions"
+
+[build.environment]
+ NODE_VERSION = "17.8.0"
+ NPM_VERSION = "8.5.5"
+
+[context.production]
+ command = "npm run build"
+
+[context.deploy-preview]
+ command = "npm run build -- -b $DEPLOY_PRIME_URL"
+
+[context.branch-deploy]
+ command = "npm run build -- -b $DEPLOY_PRIME_URL"
+
+[context.next]
+ command = "npm run build"
+
+[context.next.environment]
+ HUGO_ENV = "next"
+
+[[plugins]]
+ package = "netlify-plugin-submit-sitemap"
+
+ [plugins.inputs]
+ baseUrl = "https://www.authelia.com/"
+ sitemapPath = "/sitemap.xml"
+ ignorePeriod = 0
+ providers = [
+ "google",
+ "bing",
+ "yandex"
+ ]
+
+[dev]
+ framework = "#custom"
+ command = "npm run start"
+ targetPort = 1313
+ port = 8888
+ publish = "public"
+ autoLaunch = false