Fix GOROOT not being usable in hugo
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
cf7838e9ad
commit
c94c68a167
|
@ -8,5 +8,3 @@ steps:
|
||||||
- hugo --gc --cleanDestinationDir --enableGitInfo -d /korhonen.cc
|
- hugo --gc --cleanDestinationDir --enableGitInfo -d /korhonen.cc
|
||||||
volumes:
|
volumes:
|
||||||
- /var/www/korhonen.cc:/korhonen.cc
|
- /var/www/korhonen.cc:/korhonen.cc
|
||||||
environment:
|
|
||||||
- GOROOT=/usr/local/lib/go
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ enableInlineShortcodes = false
|
||||||
|
|
||||||
[exec]
|
[exec]
|
||||||
allow = ['^asciidoctor$', '^dart-sass-embedded$', '^go$', '^npx$', '^postcss$']
|
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]
|
[funcs]
|
||||||
getenv = ['^HUGO_']
|
getenv = ['^HUGO_']
|
||||||
|
|
Loading…
Reference in a new issue