Select Git revision
.gitlab-ci.yml
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