CI: adapt pages job to use unprivilledged flatpak-builder

https://mail.gnome.org/archives/desktop-devel-list/2020-February/msg00055.html
This commit is contained in:
Jordan Petridis 2020-02-24 14:41:28 +02:00
parent 6e8b3faace
commit 401bc5ca8d
No known key found for this signature in database
GPG key ID: E8523968931763BE

View file

@ -54,10 +54,10 @@ pages:
image: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/rust_bundle:master" image: "registry.gitlab.gnome.org/gnome/gnome-runtime-images/rust_bundle:master"
stage: deploy stage: deploy
script: script:
- flatpak-builder --stop-at=${FLATPAK_MODULE} --force-clean app ${MANIFEST_PATH} - flatpak-builder --user --disable-rofiles-fuse --stop-at=${FLATPAK_MODULE} --force-clean app ${MANIFEST_PATH}
- flatpak-builder --run app ${MANIFEST_PATH} meson _build - flatpak-builder --user --disable-rofiles-fuse --run app ${MANIFEST_PATH} meson _build
- flatpak-builder --run app ${MANIFEST_PATH} ninja -C _build doc - flatpak-builder --user --disable-rofiles-fuse --run app ${MANIFEST_PATH} ninja -C _build doc
- rm -rf public - rm -rf public
- mv _build/target/doc/ public - mv _build/target/doc/ public