Fix GOROOT not being usable in hugo
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Marko Korhonen 2024-01-27 19:15:34 +02:00
parent cf7838e9ad
commit c94c68a167
Signed by: FunctionalHacker
GPG key ID: A7F78BCB859CD890
2 changed files with 1 additions and 3 deletions

View file

@ -8,5 +8,3 @@ steps:
- hugo --gc --cleanDestinationDir --enableGitInfo -d /korhonen.cc
volumes:
- /var/www/korhonen.cc:/korhonen.cc
environment:
- GOROOT=/usr/local/lib/go

View file

@ -2,7 +2,7 @@ enableInlineShortcodes = false
[exec]
allow = ['^asciidoctor$', '^dart-sass-embedded$', '^go$', '^npx$', '^postcss$']
osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$']
osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM|GO*)$']
[funcs]
getenv = ['^HUGO_']