Skip to content

Commit

Permalink
Revert "chore(website): remove diff optimization to get a single build"
Browse files Browse the repository at this point in the history
This reverts commit 2bb8e33.
  • Loading branch information
SimenB committed Oct 6, 2022
1 parent 2bb8e33 commit fd13a10
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@
YARN_ENABLE_GLOBAL_CACHE = "true"
YARN_GLOBAL_FOLDER = "/opt/buildhome/.yarn_cache"

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

# deploy preview build (faster config)
[context.deploy-preview]
command = "yarn workspace jest-website netlify:ci:deployPreview"
Expand Down

0 comments on commit fd13a10

Please sign in to comment.