Skip to content

Commit f324a3d

Browse files
committed
Control netlify settings from git repository
Netlify is used to preview website related PRs in github. Signed-off-by: Miguel Angel Ajo <[email protected]>
1 parent abb76b4 commit f324a3d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

netlify.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# details for the config format can be found here:
2+
# https://docs.netlify.com/configure-builds/file-based-configuration/
3+
4+
[build]
5+
# Directory to change to before starting a build.
6+
# This is where we will look for package.json/.nvmrc/etc.
7+
# If not set, defaults to the root directory.
8+
base = "docs/"
9+
10+
# Directory that contains the deploy-ready HTML files and assets generated by
11+
# the build. This is relative to the base directory if one has been set, or the
12+
# root directory if a base has not been set. This sample publishes the
13+
# directory located at the absolute path "root/project/build-output"
14+
publish = "_site"
15+
16+
# Default build command.
17+
command = "jekyll build"

0 commit comments

Comments
 (0)