Add an index.html landing page for GitLab pages

For https://gnome.pages.gitlab.gnome.org/gnome-calendar/
This commit is contained in:
Federico Mena Quintero
2025-05-26 18:39:08 -06:00
parent 1a232ba811
commit a00c72b139
2 changed files with 15 additions and 3 deletions
+2 -3
View File
@@ -92,12 +92,11 @@ pages:
stage: deploy
needs: [ coverage, static-scan ]
script:
# No-op, just to gitlab thinks there's something to do.
# The jobs that this job depends on have already populated public/
- echo
- cp .gitlab-ci/landing-page.html public/index.html
artifacts:
paths:
- public
expire_in: 1 day
rules:
# Restrict to the main branch so not every branch tries to deploy the web site
- if: ($CI_DEFAULT_BRANCH == $CI_COMMIT_BRANCH)
+13
View File
@@ -0,0 +1,13 @@
<html>
<head>
<title>gnome-calendar</title>
</head>
<body>
<h1>gnome-calendar</h1>
<ul>
<li><a href="coverage/">Test coverage report</a></li>
<li><a href="scanbuild/">Static analysis report</a></li>
</ul>
</html>