Skip to content

Commit f4c7d67

Browse files
authored
chore(docs): Netlify Configuration (#41)
* feat(docs,-netlify): Netlify Configuration Simple for now, but it _might_ get extensive later on. Will help us configure builds. * fix(netlify): Publish directory in Netlify TOML Just realized, publish dir is relative to basedir.
1 parent 70df3a8 commit f4c7d67

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

netlify.toml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Settings in the [build] context are global and are applied to all contexts
2+
# unless otherwise overridden by more specific contexts.
3+
[build]
4+
# Directory to change to before starting a build.
5+
# This is where we will look for package.json/.nvmrc/etc.
6+
# If not set, defaults to the root directory.
7+
base = "docs/"
8+
9+
# Directory that contains the deploy-ready HTML files and assets generated by
10+
# the build. This is relative to the base directory if one has been set, or the
11+
# root directory if a base has not been set. This sample publishes the
12+
# directory located at the absolute path "root/project/build-output"
13+
publish = "build/"
14+
15+
# Default build command.
16+
command = "yarn install && yarn build && echo 'Successful deploy ✨' "
17+

0 commit comments

Comments
 (0)