diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f8b144aae2d0e708a1b3d5a42caec67f31a0cd88..768c49306e065c344365e766631dcf7d53c38745 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -132,11 +132,12 @@ pages: stage: deploy_docs tags: - git-run-ia2 - needs: - - job: install_project - artifacts: true + before_script: - pip install --upgrade pip + - echo "Installing project '${PROJECT}' and its dependencies..." + - pip install -e . + - echo "${PROJECT} installation complete." - pip install -r docs/requirements.txt script: - echo "Current directory $(pwd)" @@ -145,8 +146,7 @@ pages: - sphinx-build -b html docs/source docs/public/html artifacts: paths: - - . # Pass the modified workspace - # - public + - public rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH