Skip to content

Commit

Permalink
don't build drafts on Netlify PR previews
Browse files Browse the repository at this point in the history
  • Loading branch information
ajschmidt8 committed Sep 20, 2024
1 parent cb8ac1d commit 0f52fce
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ HUGO_VERSION = "0.124.1"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"

# Build drafts on PR previews
[context.deploy-preview]
command = "./build.sh --buildDrafts"

# Setting HUGO_ENV != "production" prevents
# Google Analytics from being loaded on PR previews
[context.deploy-preview.environment]
Expand Down

0 comments on commit 0f52fce

Please sign in to comment.