Commit 43c2d3f1 authored by Henk Verlinde's avatar Henk Verlinde
Browse files

fix: update for netlify checks

parent 37976853
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -77,6 +77,10 @@ rel = "sitemap"
  blog = "/blog/:title/"

[module]
  [module.hugoVersion]
    extended = true
    min = "0.80.0"
    max = ""
  [[module.mounts]]
    source = "assets"
    target = "assets"
+6 −5
Original line number Diff line number Diff line
@@ -5,25 +5,26 @@
[build.environment]
  NODE_VERSION = "16.3.0"
  NPM_VERSION = "7.16.0"
  HUGO_VERSION = "0.84.4"

[context.production]
  command = "exec-bin bin/hugo/hugo --gc --minify"
  command = "hugo --gc --minify"

[context.deploy-preview]
  command = "exec-bin bin/hugo/hugo --gc --minify -b $DEPLOY_PRIME_URL"
  command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"

[context.branch-deploy]
  command = "exec-bin bin/hugo/hugo --gc --minify -b $DEPLOY_PRIME_URL"
  command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"

[context.next]
  command = "exec-bin bin/hugo/hugo --gc --minify"
  command = "hugo --gc --minify"

[context.next.environment]
  HUGO_ENV = "next"

[dev]
  framework = "#custom"
  command = "shx rm -rf public resources && exec-bin bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender"
  command = "shx rm -rf public resources && hugo server --bind=0.0.0.0 --disableFastRender"
  targetPort = 1313
  port = 8888
  publish = "public"
+2 −2
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
    "lint": "npm run -s lint:scripts && npm run -s lint:styles && npm run -s lint:markdown",
    "lint:scripts": "eslint assets/js config functions",
    "lint:styles": "stylelint \"assets/scss/**/*.{css,sass,scss,sss,less}\"",
    "lint:markdown": "markdownlint *.md content/**/*.md",
    "lint:markdown": "markdownlint \"*.md\" \"content/**/*.md\"",
    "server": "exec-bin bin/hugo/hugo server",
    "test": "npm run -s lint",
    "env": "env",
@@ -60,6 +60,6 @@
    "stylelint-config-standard": "^22.0"
  },
  "otherDependencies": {
    "hugo": "0.84.0"
    "hugo": "0.84.4"
  }
}