Skip to content
Snippets Groups Projects
Select Git revision
  • 5a3bdc4eac284b797af812554c4a456d0fd3b30d
  • master default protected
  • alessandro.mangili1-master-patch-24117
  • alessandro.mangili1-master-patch-55225
  • alessandro.mangili1-master-patch-05742
  • alessandro.mangili1-master-patch-83587
  • alessandro.mangili1-master-patch-51683
  • alessandro.mangili1-master-patch-30839
  • alessandro.mangili1-master-patch-24005
  • alessandro.mangili1-master-patch-41573
  • yon/issue/23
  • yon/02-fix
  • mdbook
  • issue/22
  • issue/21
  • issue/18
  • issue/19
  • lezioni/16
  • lezioni/15
  • contributors
  • lezioni/13
  • v2023.1
22 results

.gitlab-ci.yml

Blame
  • Forked from Silab gang / Ingegneria del software
    Source project has a limited visibility.
    .gitlab-ci.yml 689 B
    image: ruby:3.1
    
    variables:
      JEKYLL_ENV: production
      LC_ALL: C.UTF-8
    
    before_script:
      - bundle install
    
    build:
      stage: build
      script:
        - apt-get update -y
        - apt-get install -y wget default-jre default-jdk graphviz
        - wget https://github.com/plantuml/plantuml/releases/download/v1.2022.13/plantuml-1.2022.13.jar -O plantuml.jar
        - echo "#!/bin/bash" > plantuml
        - echo "java -jar $PWD/plantuml.jar \"\$1\" \"\$2\"" >> plantuml
        - mv plantuml /usr/bin/plantuml
        - chmod +x /usr/bin/plantuml
        - sed -i "s/\/sweng/\/sweng\/$CI_COMMIT_REF_SLUG/g" _config.yml
        - bundle exec jekyll build -d build
      artifacts:
        name: jekyll-build.zip
        paths:
          - build