Skip to content

Commit 94b5377

Browse files
committed
Add netlify.toml to enable deploy previews for PRs
Signed-off-by: caesarsage <destinyerhabor6@gmail.com>
1 parent 6ab4ae0 commit 94b5377

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

netlify.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[build]
2+
publish = "public"
3+
command = "npm run build"
4+
5+
[context.deploy-preview]
6+
command = "npm run build"
7+
8+
[context.branch-deploy]
9+
command = "npm run build"
10+
11+
[context.production]
12+
command = "npm run build"
13+
14+
[context.production.environment]
15+
HUGO_BASEURL = "https://microcks.io/"
16+
HUGO_ENV = "production"
17+
HUGO_ENABLEGITINFO = "true"

0 commit comments

Comments
 (0)