gstreamer/.gitlab-ci.yml

16 lines
636 B
YAML
Raw Normal View History

deploy:
2018-11-28 18:49:50 +00:00
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/