summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml17
1 files changed, 15 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 003181e..adf830a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -38,7 +38,6 @@ docs:archlinux:
stage: test
image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest"
script:
- - pip3 install --user sphinx
- ~/.local/bin/sphinx-build -E docs docs/_build
dependencies:
- build:archlinux
@@ -54,7 +53,6 @@ publish:gerbonara:
image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest"
cache: {}
script:
- - pip install -U --user twine
- export TWINE_USERNAME TWINE_PASSWORD
- ~/.local/bin/twine upload dist/*
dependencies:
@@ -62,3 +60,18 @@ publish:gerbonara:
only:
- /^v.*$/
+pages:
+ stage: publish
+ variables:
+ GIT_SUBMODULE_STRATEGY: none
+ image: "registry.gitlab.com/gerbolyze/build-containers/archlinux:latest"
+ script:
+ - ~/.local/bin/sphinx-build -E docs docs/_build
+ dependencies:
+ - build:archlinux
+ artifacts:
+ paths:
+ - docs/_build
+ only:
+ - /^v.*$/
+