Skip to content
Snippets Groups Projects
Commit d69357a0 authored by Ethan Robert's avatar Ethan Robert
Browse files

Added Gitlab CI

parent ee95fe16
Branches
No related tags found
No related merge requests found
Pipeline #60107 failed
stages:
- build
- release
build:
stage: build
before_script:
- apt-get update -qq && apt-get install -y pandoc texlive
script:
- make all
artifacts:
paths:
- dist/Output.pdf
- dist/Output.html
release:
stage: release
script:
- echo "Creating release..."
only:
- tags
artifacts:
paths:
- dist/Output.pdf
- dist/Output.html
release:
name: "Release $CI_COMMIT_TAG"
description: "Release created for commit $CI_COMMIT_SHA"
tag_name: "$CI_COMMIT_TAG"
assets:
links:
- name: "Output PDF"
url: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/dist/Output.pdf"
- name: "Output HTML"
url: "${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/dist/Output.html"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment