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
|
stage: deploy
|
||||||
needs: [ coverage, static-scan ]
|
needs: [ coverage, static-scan ]
|
||||||
script:
|
script:
|
||||||
# No-op, just to gitlab thinks there's something to do.
|
- cp .gitlab-ci/landing-page.html public/index.html
|
||||||
# The jobs that this job depends on have already populated public/
|
|
||||||
- echo
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
expire_in: 1 day
|
||||||
rules:
|
rules:
|
||||||
# Restrict to the main branch so not every branch tries to deploy the web site
|
# Restrict to the main branch so not every branch tries to deploy the web site
|
||||||
- if: ($CI_DEFAULT_BRANCH == $CI_COMMIT_BRANCH)
|
- 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