From 84c3e6df7088725e33b1ef24056c60d179f94022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Wed, 17 Jul 2024 15:54:50 +0200 Subject: [PATCH] ci: Rename pages.yaml to docs.yml --- .gitlab-ci/{pages.yaml => docs.yml} | 2 +- .gitlab-ci/publish_docs.yml | 4 ++-- .gitlab-ci/test.yml | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) rename .gitlab-ci/{pages.yaml => docs.yml} (99%) diff --git a/.gitlab-ci/pages.yaml b/.gitlab-ci/docs.yml similarity index 99% rename from .gitlab-ci/pages.yaml rename to .gitlab-ci/docs.yml index f15abd7f..ae7170a8 100644 --- a/.gitlab-ci/pages.yaml +++ b/.gitlab-ci/docs.yml @@ -1,4 +1,4 @@ -.pages: +.docs: image: 'quay.io/gnome_infrastructure/gnome-runtime-images:gnome-master' tags: - flatpak diff --git a/.gitlab-ci/publish_docs.yml b/.gitlab-ci/publish_docs.yml index e1761889..f3eb85fc 100644 --- a/.gitlab-ci/publish_docs.yml +++ b/.gitlab-ci/publish_docs.yml @@ -1,10 +1,10 @@ # Build and publish the docs -include: '.gitlab-ci/pages.yaml' +include: '.gitlab-ci/docs.yml' pages: extends: - - .pages + - .docs stage: deploy variables: DOCS_FOLDER: "public" diff --git a/.gitlab-ci/test.yml b/.gitlab-ci/test.yml index 7f8d3ef6..63775885 100644 --- a/.gitlab-ci/test.yml +++ b/.gitlab-ci/test.yml @@ -1,9 +1,9 @@ # Tests after the app is built. -include: '.gitlab-ci/pages.yaml' +include: '.gitlab-ci/docs.yml' # Validate the metainfo with Flathub's tool. -metainfo: +lint-metainfo: stage: test image: name: "ghcr.io/flathub/flatpak-builder-lint:latest" @@ -18,9 +18,9 @@ metainfo: needs: ["build@x86_64"] # Test that there are no errors in the docs. -test-pages: +build-docs: extends: - - .pages + - .docs stage: test variables: DOCS_FOLDER: "doc"