gitlab CI: move the pages job configuration to config.yml

Makes it less error-prone to forgetful updates like 191913, I hope.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2022-03-02 16:16:40 +10:00
parent 12e6eed191
commit 06ce6c3a92
2 changed files with 7 additions and 3 deletions

View file

@ -311,10 +311,10 @@ pages:
stage: deploy
extends:
- .build@template
- .fdo.distribution-image@fedora
- .fdo.distribution-image@{{pages.distro}}
variables:
FDO_DISTRIBUTION_VERSION: '35'
FDO_DISTRIBUTION_TAG: $FEDORA_TAG
FDO_DISTRIBUTION_VERSION: '{{pages.version}}'
FDO_DISTRIBUTION_TAG: ${{pages.distro.upper()}}_TAG
MESON_ARGS: "-Ddocumentation=true"
after_script:
- mv "$MESON_BUILDDIR"/doc/html/ public

View file

@ -11,3 +11,7 @@ distributions:
versions:
- '35' # update the pages job when bumping the version
use_for_custom_build_tests: true
pages:
distro: fedora
version: 35