From a00c72b1394ed03fccd12da10515dfbf55e7b6fb Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 26 May 2025 18:24:52 -0600 Subject: [PATCH] Add an index.html landing page for GitLab pages For https://gnome.pages.gitlab.gnome.org/gnome-calendar/ --- .gitlab-ci.yml | 5 ++--- .gitlab-ci/landing-page.html | 13 +++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .gitlab-ci/landing-page.html diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d44c1b60..368580f1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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) diff --git a/.gitlab-ci/landing-page.html b/.gitlab-ci/landing-page.html new file mode 100644 index 00000000..4164bc10 --- /dev/null +++ b/.gitlab-ci/landing-page.html @@ -0,0 +1,13 @@ + + + gnome-calendar + + + +

gnome-calendar

+ + +