Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,14 @@ status = 200
command = "npm run build:nuxt"

[context.branch-deploy]
# A pull request already gets a deploy preview for every commit, so a branch
# deploy of the same commit builds the site twice and takes a slot from the
# three concurrent builds Netlify gives us. Skip it. The command stays so that
# a branch deploy, should the ignore ever stop skipping, still builds Nuxt
# only, rather than falling through to the root [build] command, which also
# runs index:algolia and would write the search index from a branch.
command = "npm run build:nuxt"
ignore = "exit 0"

[[plugins]]
package = "netlify-plugin-cache"
Expand Down