From f03dc8240e8108547625b440c6d65523f71c3e63 Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Tue, 27 Nov 2018 22:02:46 +0100 Subject: [PATCH] Implement Netlify configuration This commit implements a part of the implementation of the "hosting & continuous deployment concept" (1) with Netlify's configuration file (2). It initially defines the `command` and `publish` keys of the `[build]` section for production builds. See the "Hosting" and "Continuous Deployment" (sub)sections of the related epic issue for more details about the architecture. References: (1) https://github.com/arcticicestudio/nord-docs/issues/46 (2) https://www.netlify.com/docs/netlify-toml-reference Related epics: GH-46 Resolves GH-48 --- netlify.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 netlify.toml diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 00000000..955f3662 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,14 @@ +# Copyright (C) 2018-present Arctic Ice Studio +# Copyright (C) 2018-present Sven Greb +# +# Project: Nord Docs +# Repository: https://github.com/arcticicestudio/nord-docs +# License: MIT + +# Configuration for Netlify. +# +# @see https://www.netlify.com/docs/netlify-toml-reference + +[build] + command = "npm run build" + publish = "public/"