Skip to content

Commit d2affde

Browse files
committed
feat: prevent netlify auto build on production
1 parent 9c0acda commit d2affde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[build]
2-
ignore = "exit 0"
2+
ignore = "if [[ \"$CONTEXT\" == \"production\" ]]; then exit 0; else exit 1; fi"

0 commit comments

Comments
 (0)