Skip to content

Commit

Permalink
Update netlify.toml (hugo-toha#315)
Browse files Browse the repository at this point in the history
Signed-off-by: hossainemruz <[email protected]>
  • Loading branch information
hossainemruz authored Jun 1, 2024
1 parent 4269dfc commit e25db39
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 19 deletions.
2 changes: 1 addition & 1 deletion assets/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"baseUrl": ".",
"paths": {
"*": [
"../../toha/assets/*"
"../../../../../.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/hugo-toha/toha/[email protected]/assets/*"
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
module github.com/hugo-toha/hugo-toha.github.io

go 1.19
go 1.21

require github.com/hugo-toha/toha/v4 v4.4.1-0.20240510202123-a959cb174de6 // indirect
require github.com/hugo-toha/toha/v4 v4.5.1-0.20240601184722-8599c634e39f // indirect

// replace(
// github.com/hugo-toha/toha/v4 => ../toha
Expand Down
6 changes: 2 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
github.com/hugo-toha/toha/v4 v4.4.1-0.20240425113647-5b1248da4d04 h1:/E5grwDB7FTzwBTbj1nvwBOR2HG3miVePe8clJlauWw=
github.com/hugo-toha/toha/v4 v4.4.1-0.20240425113647-5b1248da4d04/go.mod h1:p/K34lqlqmhzfPd4cx66od7sjlROBqhMxG30mJz+aKQ=
github.com/hugo-toha/toha/v4 v4.4.1-0.20240510202123-a959cb174de6 h1:f0wW2Y/+A06+8hexwPOvc3oMiyGpTLezf5kBQiii8Kg=
github.com/hugo-toha/toha/v4 v4.4.1-0.20240510202123-a959cb174de6/go.mod h1:p/K34lqlqmhzfPd4cx66od7sjlROBqhMxG30mJz+aKQ=
github.com/hugo-toha/toha/v4 v4.5.1-0.20240601184722-8599c634e39f h1:uO7ljieyCiI24Lpxfh/SjzKJmuICLhtXfYvP74gYjVE=
github.com/hugo-toha/toha/v4 v4.5.1-0.20240601184722-8599c634e39f/go.mod h1:TU/6WXz7fJ3BSrTS+K/sVctzUMF4pB4ZwKWzFBFra8g=
24 changes: 12 additions & 12 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,34 @@ publish = "public"
[context.production.environment]
HUGO_ENABLEGITINFO = "true"
HUGO_ENV = "production"
HUGO_VERSION = "0.120.1"
NODE_VERSION = "v18.12.1"
NPM_VERSION = "8.19.2"
HUGO_VERSION = "0.126.2"
NODE_VERSION = "v20.11.1"
NPM_VERSION = "10.5.0"

[context.split1]
command = "hugo mod tidy && hugo mod npm pack && npm install && hugo --gc --minify --enableGitInfo"

[context.split1.environment]
HUGO_ENV = "production"
HUGO_VERSION = "0.120.1"
NODE_VERSION = "v18.12.1"
NPM_VERSION = "8.19.2"
HUGO_VERSION = "0.126.2"
NODE_VERSION = "v20.11.1"
NPM_VERSION = "10.5.0"

[context.deploy-preview]
command = "hugo mod tidy && hugo mod npm pack && npm install && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"

[context.deploy-preview.environment]
HUGO_VERSION = "0.120.1"
NODE_VERSION = "v18.12.1"
NPM_VERSION = "8.19.2"
HUGO_VERSION = "0.126.2"
NODE_VERSION = "v20.11.1"
NPM_VERSION = "10.5.0"

[context.branch-deploy]
command = "hugo mod tidy && hugo mod npm pack && npm install && hugo --gc --minify -b $DEPLOY_PRIME_URL"

[context.branch-deploy.environment]
HUGO_VERSION = "0.120.1"
NODE_VERSION = "v18.12.1"
NPM_VERSION = "8.19.2"
HUGO_VERSION = "0.126.2"
NODE_VERSION = "v20.11.1"
NPM_VERSION = "10.5.0"

[context.next.environment]
HUGO_ENABLEGITINFO = "true"

0 comments on commit e25db39

Please sign in to comment.