Skip to content

Commit 33293ac

Browse files
committed
[netlify-ignore] don't run for branch previews
1 parent d755285 commit 33293ac

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

netlify.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
# Ignore if [netlify-ignore] is present
66
ignore = "git log -1 --pretty=%B | ( grep -q '\\[netlify\\-ignore\\]' )"
77

8+
[context.deploy-preview]
9+
command = "yarn develop"
10+
811
[[redirects]]
912
from = "/docs/*"
1013
to = "/:splat"

0 commit comments

Comments
 (0)