Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
KnVerey committed Jul 29, 2022
1 parent d7c47bb commit 0aad522
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions netlify.toml
@@ -1,16 +1,16 @@
[build]
base = "site/"
command = "hugo"
command = "git submodule update --init --recursive --depth 1 && hugo"
publish = "publishedSite/"
ignore = "git diff $COMMIT_REF master -- site/" # only build if changes to the site
ignore = "exit 1"

[build.environment]
HUGO_VERSION = "0.92.2"
NODE_ENV = "development"
NETLIFY_BUILD_DEBUG = "true"

[context.deploy-preview]
command = "hugo --enableGitInfo --buildFuture -b $DEPLOY_PRIME_URL"
command = "git submodule update --init --recursive --depth 1 hugo --enableGitInfo --buildFuture -b $DEPLOY_PRIME_URL"

[context.branch-deploy]
ignore = "exit 0" # build PRs (deploy preview env) only, not all branches
Expand Down

0 comments on commit 0aad522

Please sign in to comment.