Loading .gitlab-ci.yml +4 −17 Original line number Diff line number Diff line image: python:3.11 # usa un'immagine Docker con Python stages: - deploy image: ruby:3.2 variables: JEKYLL_ENV: production BUNDLE_PATH: vendor/bundle cache: paths: - vendor/bundle pages: stage: deploy tags: - git-run-ia2 script: - gem install bundler - bundle install - bundle exec jekyll build -d public - pip install mkdocs mkdocs-material # o solo mkdocs se non ti serve il tema Material - mkdocs build --site-dir public artifacts: paths: - public only: - main when: always Loading
.gitlab-ci.yml +4 −17 Original line number Diff line number Diff line image: python:3.11 # usa un'immagine Docker con Python stages: - deploy image: ruby:3.2 variables: JEKYLL_ENV: production BUNDLE_PATH: vendor/bundle cache: paths: - vendor/bundle pages: stage: deploy tags: - git-run-ia2 script: - gem install bundler - bundle install - bundle exec jekyll build -d public - pip install mkdocs mkdocs-material # o solo mkdocs se non ti serve il tema Material - mkdocs build --site-dir public artifacts: paths: - public only: - main when: always