Commit df01bf5f authored by Chris Lamb's avatar Chris Lamb 👀
Browse files

Try and fix relative/absolute URLs.

parent a3faf5be
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -6,7 +6,8 @@ all:
ifeq ($(CI_JOB_ID),)
	jekyll build --verbose --trace
else
	jekyll build --verbose --trace --baseurl="https://$(CI_PROJECT_NAMESPACE).pages.debian.net/-/$(CI_PROJECT_NAME)/-/jobs/$(CI_JOB_ID)/artifacts/_site/"
	sed -i -e 's@^\(url:\).*@\1 https://$(CI_PROJECT_NAME).pages.debian.net@g' _config.yml
	jekyll build --verbose --trace --baseurl="/-/$(CI_PROJECT_NAME)/-/jobs/$(CI_JOB_ID)/artifacts/_site/"
endif

clean: