Unverified Commit 820594f9 authored by Caleb Maclennan's avatar Caleb Maclennan
Browse files

Setup artifacts to be pub files from each build

parent 41c3345a
......@@ -17,7 +17,7 @@ stats:
script: make $CI_JOB_NAME
artifacts:
paths:
- reports/*.pdf
- 'reports/*.pdf'
.course:
stage: build
tags:
......@@ -27,7 +27,7 @@ stats:
- $CI_PROJECT_NAME =~ /course_.*/
artifacts:
paths:
- '*.pdf'
- 'pub/*'
script:
- make course
course:en:
......@@ -47,7 +47,7 @@ course:tr:
- $CI_PROJECT_NAME =~ /book_.*/
artifacts:
paths:
- '*.pdf'
- 'pub/*'
script:
- make book
book:en:
......
......@@ -23,6 +23,7 @@ $(_lesson)-%.odt: $(_lesson)-%.md
--metadata lang=$(call lang4,$(LANGUAGE)) \
--to odt \
$< -o $@
$(addtopub)
$(_lesson)-%.pdf: $(_lesson)-%.md
$(PANDOC) $(PANDOCARGS) \
......@@ -32,3 +33,4 @@ $(_lesson)-%.pdf: $(_lesson)-%.md
--pdf-engine=xelatex \
-V "mainfont:Libertinus Serif" \
$< -o $@
$(addtopub)
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