From 2bc1d75db7d227986295a6c181d3a1e2a2e66657 Mon Sep 17 00:00:00 2001 From: "Fifo F." Date: Tue, 27 Feb 2024 13:31:11 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 30 ++++-------------------------- 1 file changed, 4 insertions(+), 26 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9dfe24a..5e517ad 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,31 +1,9 @@ -variables: - LATEX_IMAGE: texlive/texlive:latest - INPUT_FILE: DrJekyllMrHyde.tex - -stages: - - build - - release_job - build: - image: $LATEX_IMAGE + image: texlive/texlive:latest script: - - lualatex $INPUT_FILE || true - - lualatex $INPUT_FILE || true + - lualatex DrJekyllMrHyde.tex || true + - lualatex DrJekyllMrHyde.tex || true artifacts: paths: - - "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. \ No newline at end of file + - "DrJekyllMrHyde.pdf" \ No newline at end of file