ci: Enhance the message displayed to the user about where to find the built doc
[platform/upstream/gstreamer.git] / .gitlab-ci.yml
1 deploy:
2   image: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/fedora-build:latest'
3   stage: deploy
4
5   script:
6   - dnf install -y cmake
7   - pip3 install --upgrade hotdoc meson
8   - meson build/
9   - ninja -C build/ GStreamer-doc
10   - mv build/GStreamer-doc/html documentation/
11   - ARTIFACTS_PATH=$(echo "${CI_JOB_URL}/artifacts/documentation/index.html" |sed "s/${CI_PROJECT_NAMESPACE}/-/g" | sed "s/gitlab/${CI_PROJECT_NAMESPACE}.pages/g")
12   - printf "\n\n==========================================\n= You can find the result at $ARTIFACTS_PATH =\n==========================================\n\n"
13
14   artifacts:
15     paths:
16     - documentation/