diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db44382..b3f4da6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -50,14 +50,15 @@ build_tex: # - "./*.tex" # - "./**/*.tex" script: - - pdflatex --shell-escape presentation.tex - - biber article - - pdflatex --shell-escape presentation.tex + - FILE_NAME="presentation" + - pdflatex --shell-escape $FILE_NAME.tex + - biber $FILE_NAME + - pdflatex --shell-escape $FILE_NAME.tex after_script: - - cat presentation.log + - cat $FILE_NAME.log artifacts: paths: - - presentation.pdf + - $FILE_NAME.pdf deploy: extends: .git:push