From fc0779c4f8173b501689602a0a786a66f2e67df9 Mon Sep 17 00:00:00 2001 From: jaseg Date: Sun, 6 Feb 2022 21:17:57 +0100 Subject: CI: WIP --- .gitlab-ci.yml | 17 +++++++++++++++-- 1 file 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.*$/ + -- cgit