Commit 626c4452 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil
Browse files

Merge branch 'use-gitlab-cicd' into 'master'

Use CI/CD to build the pdf file on Gitlab

See merge request miroslav.kratochvil/beamertheme-lcsb!1
parents ada4b198 73bc6532
Pipeline #37356 passed with stage
in 2 minutes and 4 seconds
image: git-r3lab.uni.lu:4567/r3/docker/latex:latest
stages:
- build
build:pdf file:
stage: build
artifacts:
expire_in: 1 day
paths:
- build
when: manual
before_script:
- apt-get update
- apt-get install -y build-essential
script:
- mkdir -p build
- make
- cp *.pdf build
...@@ -12,3 +12,7 @@ edges are cleaned up; in the meantime it is likely better to just follow the ...@@ -12,3 +12,7 @@ edges are cleaned up; in the meantime it is likely better to just follow the
example layouts in `slides.tex`. example layouts in `slides.tex`.
Open issues/send merge requests in case of any ideas. Open issues/send merge requests in case of any ideas.
# How to generate the PDF file using Gitlab CI/CD?
Go to "CI/CD" tab on the left-hand side. Find the button to start "build:pdf file" task, and click it.
After a few minutes the task should finish, and you'll find on the right-hand-side an option to download the "Arftifacts" - an archive containing the generated PDF file.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment