Commit b1bf9d8b authored by Carmelo Arcidiacono's avatar Carmelo Arcidiacono 💬
Browse files

Update on config.yaml stages missing

parent 29c3e2b3
Loading
Loading
Loading
Loading
+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