docs/ci: replace deprecated pages job with pages: true

See https://docs.gitlab.com/ci/yaml/#pages

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34469>
This commit is contained in:
Eric Engestrom 2025-04-11 10:10:54 +02:00 committed by Marge Bot
parent 618409a934
commit 33f82078e0
2 changed files with 4 additions and 3 deletions

View file

@ -282,10 +282,10 @@ alpine/x86_64_build:
LLVM_VERSION: &alpine-llvm_version 19
rules:
# Note: the next three lines must remain in that order, so that the rules
# in `linkcheck-docs` catch nightly pipelines before the rules in `pages`
# in `linkcheck-docs` catch nightly pipelines before the rules in `deploy-docs`
# exclude them.
- !reference [linkcheck-docs, rules]
- !reference [pages, rules]
- !reference [deploy-docs, rules]
- !reference [test-docs, rules]
- !reference [.container, rules]

View file

@ -15,9 +15,10 @@
- meson compile -C _build
- meson install -C _build
pages:
deploy-docs:
extends: .docs-base
stage: deploy
pages: true
rules:
- !reference [.common-rules, rules]
- !reference [.no_scheduled_pipelines-rules, rules]