Skip to content

Commit a26182b

Browse files
committed
chore(netlify): tweak when to ignore changes for website deploy
1 parent 830f953 commit a26182b

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
@@ -13,7 +13,7 @@
1313

1414
[context.production]
1515
# Do not build the site if there's no site-related changes
16-
ignore = "git diff --quiet HEAD^ HEAD -- website/ docs/ netlify.toml"
16+
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF -- website/ docs/ netlify.toml"
1717

1818
# deploy preview build (faster config)
1919
[context.deploy-preview]

0 commit comments

Comments
 (0)