Add an index.html landing page for GitLab pages
For https://gnome.pages.gitlab.gnome.org/gnome-calendar/
This commit is contained in:
+2
-3
@@ -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)
|
||||
|
||||
@@ -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>
|
||||
Reference in New Issue
Block a user