[Git][reproducible-builds/reproducible-website][master] Try and fix relative/absolute URLs.
Chris Lamb (@lamby)
gitlab at salsa.debian.org
Wed Oct 2 23:50:53 UTC 2024
Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website
Commits:
df01bf5f by Chris Lamb at 2024-10-02T16:50:46-07:00
Try and fix relative/absolute URLs.
- - - - -
1 changed file:
- Makefile
Changes:
=====================================
Makefile
=====================================
@@ -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 at g' _config.yml
+ jekyll build --verbose --trace --baseurl="/-/$(CI_PROJECT_NAME)/-/jobs/$(CI_JOB_ID)/artifacts/_site/"
endif
clean:
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/df01bf5f77a3a88589e4fe068c9170a22fb8ce05
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/df01bf5f77a3a88589e4fe068c9170a22fb8ce05
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20241002/318a34b8/attachment.htm>
More information about the rb-commits
mailing list