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
|
||||
volumes:
|
||||
- /var/www/korhonen.cc:/korhonen.cc
|
||||
environment:
|
||||
- GOROOT=/usr/local/lib/go
|
||||
|
|
|
@ -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_']
|
||||
|
|
Loading…
Reference in a new issue