Skip to content

Commit

Permalink
chore(netlify): tweak when to ignore changes for website deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Dec 31, 2021
1 parent 830f953 commit a26182b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

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

# deploy preview build (faster config)
[context.deploy-preview]
Expand Down

0 comments on commit a26182b

Please sign in to comment.