Skip to content

Commit

Permalink
use cachekeys
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel committed Jan 23, 2025
1 parent c4262a6 commit 5d23baa
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,24 @@
[plugins.inputs]

# change this key to a new one any time you need to restart from scratch
cacheKey = "Jan232025-$CONTEXT"
cacheKeys = ["Jan232025"]
# either "warn" or "error"
failBuildOnError = true

# (for development) turn true for extra diagnostic logging
debug = true
debug = true

[[context.deploy-preview.plugins]]
package = "@eggnstone/netlify-plugin-no-more-404"

[context.deploy-preview.plugins.inputs]

cacheKeys = ["Jan232025-preview", "Jan232025"]


[[context.branch-deploy.plugins]]
package = "@eggnstone/netlify-plugin-no-more-404"

[context.branch-deploy.plugins.inputs]

cacheKeys = ["Jan232025-branch", "Jan232025"]

0 comments on commit 5d23baa

Please sign in to comment.