Skip to content
Snippets Groups Projects

Fix URLs on forked projects by setting baseURL

Merged Emanuele Aina requested to merge em/apertis-website:master into master
+ 0
2
@@ -15,8 +15,6 @@ stages:
pages:
image: registry.gitlab.com/pages/hugo:0.62.2
stage: generate-html
tags:
- lightweight
script:
- DEFAULT_BASEURL=${CI_PAGES_URL##http:} # don't force stuff on plain HTTP when publishing on HTTPS
- BASEURL=${BASEURL:-$DEFAULT_BASEURL} # set BASEURL in the CI variables to override it
Loading