gitlab-ci: build and deploy docs
Dunno if alpine is a good idea. It's what the gitlab docs use for most of their examples, so that's what I've gone with... Can probably be changed to something else if wanted. Reviewed-by: Eric Engestrom <eric@engestrom.ch> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4630>
This commit is contained in:
parent
381fc0eca5
commit
064fe5f3f4
|
@ -9,6 +9,7 @@ include:
|
||||||
- local: '.gitlab-ci/test-source-dep.yml'
|
- local: '.gitlab-ci/test-source-dep.yml'
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
|
- deploy
|
||||||
- container
|
- container
|
||||||
- container-2
|
- container-2
|
||||||
- meson-x86_64
|
- meson-x86_64
|
||||||
|
@ -23,6 +24,18 @@ stages:
|
||||||
- virgl
|
- virgl
|
||||||
- success
|
- success
|
||||||
|
|
||||||
|
pages:
|
||||||
|
image: alpine
|
||||||
|
stage: deploy
|
||||||
|
script:
|
||||||
|
- apk --no-cache add py3-pip
|
||||||
|
- pip3 install sphinx sphinx_rtd_theme
|
||||||
|
- sphinx-build -b html docs public
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- public
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
|
||||||
# When to automatically run the CI
|
# When to automatically run the CI
|
||||||
.ci-run-policy:
|
.ci-run-policy:
|
||||||
|
|
Loading…
Reference in New Issue