Skip to content

Commit

Permalink
Netlify does not trigger new deployments on simple changes
Browse files Browse the repository at this point in the history
Found the infamous `"No changes detected in base directory. Returning early from build."` log message on the Netlify logs for this PR - #2321

I followed instructions on https://answers.netlify.com/t/builds-cancelled-for-a-new-branch-due-to-no-content-change/17169/2 and also took inspiration from FDC3 setup, see https://github.com/finos/FDC3/blob/master/netlify.toml
  • Loading branch information
maoo authored Sep 6, 2023
1 parent 20b6316 commit d2b1eeb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF . ../{src,website}/"

0 comments on commit d2b1eeb

Please sign in to comment.