Skip to content

Commit

Permalink
deps: bump versions to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
h-enk committed Sep 3, 2021
1 parent 2e8489f commit 8a98716
Show file tree
Hide file tree
Showing 4 changed files with 2,280 additions and 3,935 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
bin
node_modules
public
resources
Expand Down
11 changes: 5 additions & 6 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,25 @@
[build.environment]
NODE_VERSION = "16.3.0"
NPM_VERSION = "7.16.0"
HUGO_VERSION = "0.87.0"

[context.production]
command = "hugo --gc --minify"
command = "npm run build"

[context.deploy-preview]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
command = "npm run build -- -b $DEPLOY_PRIME_URL"

[context.branch-deploy]
command = "hugo --gc --minify -b $DEPLOY_PRIME_URL"
command = "npm run build -- -b $DEPLOY_PRIME_URL"

[context.next]
command = "hugo --gc --minify"
command = "npm run build"

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

[dev]
framework = "#custom"
command = "shx rm -rf public resources && hugo server --bind=0.0.0.0 --disableFastRender"
command = "npm run start"
targetPort = 1313
port = 8888
publish = "public"
Expand Down
Loading

0 comments on commit 8a98716

Please sign in to comment.