Commit 692efd66 authored by Henk Verlinde's avatar Henk Verlinde
Browse files

feat: update netlify workflow

parent 37866250
Loading
Loading
Loading
Loading
+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"
+124 −459

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1
Original line number Diff line number Diff line
@@ -60,6 +60,6 @@
    "stylelint-config-standard": "^22.0"
  },
  "otherDependencies": {
    "hugo": "0.84.0"
    "hugo": "0.84.4"
  }
}