Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update netlify.toml #315

Merged
merged 1 commit into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Loading