18 lines
788 B
YAML
18 lines
788 B
YAML
# Build and publish the docs
|
|
|
|
pages:
|
|
stage: deploy
|
|
image: 'quay.io/gnome_infrastructure/gnome-runtime-images:gnome-master'
|
|
tags:
|
|
- flatpak
|
|
script:
|
|
- flatpak install --user --noninteractive org.freedesktop.Sdk.Extension.rust-nightly//23.08
|
|
- sed -i 's|rust-stable|rust-nightly|g' ${MANIFEST_PATH}
|
|
- flatpak-builder --keep-build-dirs --user --disable-rofiles-fuse --stop-at=${FLATPAK_MODULE} flatpak_app --repo=repo ${BRANCH:+--default-branch=$BRANCH} ${MANIFEST_PATH}
|
|
- echo "ninja src/doc" | flatpak-builder --disable-rofiles-fuse --build-shell=${FLATPAK_MODULE} flatpak_app ${MANIFEST_PATH}
|
|
- mv .flatpak-builder/build/${FLATPAK_MODULE}/_flatpak_build/src/doc public
|
|
- chmod -R a=rwx public
|
|
dependencies: []
|
|
artifacts:
|
|
paths:
|
|
- 'public'
|