gitlab: Use the standard gst-ci definition

This commit is contained in:
Thibault Saunier 2019-04-25 21:07:12 -04:00
parent 7788ad0da2
commit cf9239a46b

View file

@ -1,16 +1 @@
deploy: include: 'https://gitlab.freedesktop.org/gstreamer/gst-ci/raw/master/gitlab/ci_template.yml'
image: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/fedora:latest'
stage: deploy
script:
- dnf install -y cmake
- pip3 install --upgrade hotdoc meson
- meson build/
- ninja -C build/ GStreamer-doc
- mv build/GStreamer-doc/html documentation/
- ARTIFACTS_PATH=$(echo "${CI_JOB_URL}/artifacts/documentation/index.html" |sed "s/${CI_PROJECT_NAMESPACE}/-/g" | sed "s/gitlab/${CI_PROJECT_NAMESPACE}.pages/g")
- printf "\n\n==========================================\n= You can find the result at $ARTIFACTS_PATH =\n==========================================\n\n"
artifacts:
paths:
- documentation/