Commit 1a4393a1 authored by Carmelo Arcidiacono's avatar Carmelo Arcidiacono 💬
Browse files

Update .gitlab-ci.yml

parent d1b73155
Loading
Loading
Loading
Loading
Loading
+13 −13
Original line number Diff line number Diff line
image: python:3.11

stages:
  - deploy

# The Docker image that will be used to build your app
image: node:lts
create-pages:
  pages:
  stage: deploy
  script:
    # The folder that contains the files to be exposed at the Page URL
    publish: public
  rules:
    # This ensures that only pushes to the default branch will trigger
    # a pages deploy
    - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
  # Functions that should be executed before the build script is run
  before_script:
    - pip install mkdocs mkdocs-material
  script:
    - mkdocs build --site-dir public
  artifacts:
    paths:
      - public
  only:
    - main