mirror of
https://git.fifo-f.eu/tex-projects/books/dr-jekyll-and-mr-hyde-latex.git
synced 2025-04-19 08:28:07 +02:00
Update .gitlab-ci.yml file
This commit is contained in:
parent
bf03d360a5
commit
2bc1d75db7
1 changed files with 4 additions and 26 deletions
|
@ -1,31 +1,9 @@
|
||||||
variables:
|
|
||||||
LATEX_IMAGE: texlive/texlive:latest
|
|
||||||
INPUT_FILE: DrJekyllMrHyde.tex
|
|
||||||
|
|
||||||
stages:
|
|
||||||
- build
|
|
||||||
- release_job
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: $LATEX_IMAGE
|
image: texlive/texlive:latest
|
||||||
script:
|
script:
|
||||||
- lualatex $INPUT_FILE || true
|
- lualatex DrJekyllMrHyde.tex || true
|
||||||
- lualatex $INPUT_FILE || true
|
- lualatex DrJekyllMrHyde.tex || true
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "DrJekyllMrHyde.pdf"
|
- "DrJekyllMrHyde.pdf"
|
||||||
|
|
||||||
release_job:
|
|
||||||
stage: release
|
|
||||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
|
||||||
rules:
|
|
||||||
- if: $CI_COMMIT_TAG
|
|
||||||
when: never # Do not run this job when a tag is created manually
|
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # Run this job when commits are pushed or merged to the default branch
|
|
||||||
script:
|
|
||||||
- echo "running release_job for $TAG"
|
|
||||||
release: # See https://docs.gitlab.com/ee/ci/yaml/#release for available properties
|
|
||||||
tag_name: 'v0.$CI_PIPELINE_IID' # The version is incremented per pipeline.
|
|
||||||
description: 'v0.$CI_PIPELINE_IID'
|
|
||||||
ref: '$CI_COMMIT_SHA' # The tag is created from the pipeline SHA.
|
|
Loading…
Add table
Add a link
Reference in a new issue