Browse Source

ci: Rename pages.yaml to docs.yml

fractal-8
Kévin Commaille 2 years ago
parent
commit
84c3e6df70
No known key found for this signature in database
GPG Key ID: C971D9DBC9D678D
  1. 2
      .gitlab-ci/docs.yml
  2. 4
      .gitlab-ci/publish_docs.yml
  3. 8
      .gitlab-ci/test.yml

2
.gitlab-ci/pages.yaml → .gitlab-ci/docs.yml

@ -1,4 +1,4 @@
.pages:
.docs:
image: 'quay.io/gnome_infrastructure/gnome-runtime-images:gnome-master'
tags:
- flatpak

4
.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"

8
.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"

Loading…
Cancel
Save