Commit fbd8a0ce authored by Davide Ricci's avatar Davide Ricci
Browse files

Update .gitlab-ci.yml file

parent d8cda53e
Loading
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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