[Git][reproducible-builds/reproducible-website][master] Try and make this easier to browser.

Chris Lamb (@lamby) gitlab at salsa.debian.org
Thu Oct 3 16:30:46 UTC 2024



Chris Lamb pushed to branch master at Reproducible Builds / reproducible-website


Commits:
8bff7574 by Chris Lamb at 2024-10-03T09:30:33-07:00
Try and make this easier to browser.

- - - - -


2 changed files:

- .gitlab-ci.yml
- Makefile


Changes:

=====================================
.gitlab-ci.yml
=====================================
@@ -10,3 +10,9 @@ test:
   artifacts:
     paths:
       - _site/*
+    expose_as: "HTML"
+    paths:
+      - '_site/index.html'
+  environment:
+    name: HTML
+    url: 'https://$CI_PROJECT_NAMESPACE.pages.debian.net/-/$CI_PROJECT_NAME/-/jobs/$CI_JOB_ID/artifacts/_site/index.html'


=====================================
Makefile
=====================================
@@ -6,7 +6,7 @@ all:
 ifeq ($(CI_JOB_ID),)
 	jekyll build --verbose --trace
 else
-	sed -i -e 's@^\(url:\).*@\1 https://$(CI_PROJECT_NAME).pages.debian.net at g' _config.yml
+	sed -i -e 's@^\(url:\).*@\1 https://$(CI_PROJECT_NAMESPACE).pages.debian.net at g' _config.yml
 	jekyll build --verbose --trace --baseurl="/-/$(CI_PROJECT_NAME)/-/jobs/$(CI_JOB_ID)/artifacts/_site/"
 endif
 



View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/8bff7574b201dfdf5ac8e8060d59b58bd3e858a5

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/reproducible-website/-/commit/8bff7574b201dfdf5ac8e8060d59b58bd3e858a5
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/20241003/267a0b72/attachment.htm>


More information about the rb-commits mailing list