diff options
author | Erik Faye-Lund <[email protected]> | 2019-05-27 17:12:10 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-06-13 10:42:01 +0000 |
commit | 064fe5f3f44dc102a57aaeaeb2aead5b42fb5589 (patch) | |
tree | cebb536c1f8ef65ca5c305416fd314635ad15004 | |
parent | 381fc0eca56fbec5c583612ea01bb63ca4f5d9c4 (diff) |
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 <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4630>
-rw-r--r-- | .gitlab-ci.yml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f561d96a3a5..17c33d3c12a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,6 +9,7 @@ include: - local: '.gitlab-ci/test-source-dep.yml' stages: + - deploy - container - container-2 - meson-x86_64 @@ -23,6 +24,18 @@ stages: - virgl - 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 .ci-run-policy: |