From 51bb0b7b35894c14639ec36f08a8e8283ad3779d Mon Sep 17 00:00:00 2001 From: Erik Schnaubelt <erik.schnaubelt@cern.ch> Date: Fri, 22 Nov 2024 17:58:55 +0100 Subject: [PATCH] CI/CD: fix and simplify pages job --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 82a4df5..e004cfa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -248,10 +248,13 @@ pypi-package: # to setup the website, follow https://how-to.docs.cern.ch/ pages: stage: deploy - needs: ["compile-mex"] - image: gitlab-registry.cern.ch/steam/steam-fiqus-dev-public-docker:latest - # we build on the fiqus dev docker since it has all the requirements to create the docs + # we can build the docs without any dependency + needs: [] + # a standard python image is just fine + image: python:3.11.8 script: + # install only packages containing the string "mkdocs" from requirements.txt + - grep "mkdocs" requirements.txt | xargs -n 1 pip install - mkdocs build --clean --site-dir public artifacts: paths: -- GitLab