-
I currently cannot build the page in gitlab as it fails with
My pipeline looks as follows: image: node:latest
variables:
HUGO_ENV: production
LC_ALL: C.UTF-8
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- npm install
- npm install hugo-bin --save-dev
test:
stage: test
script:
- ./node_modules/hugo-bin/vendor/hugo --environment staging
artifacts:
paths:
- test
except:
- master
pages:
stage: deploy
script:
- ./node_modules/hugo-bin/vendor/hugo --environment production
artifacts:
paths:
- public
only:
- master I probably could user |
Beta Was this translation helpful? Give feedback.
Answered by
h-enk
Oct 6, 2024
Replies: 1 comment
-
Use Hugo's Host on GitLab Pages guide |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
papanito
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use Hugo's Host on GitLab Pages guide
thuliteio/docs#11