Skip to content
.gitlab-ci.yml 390 B
Newer Older
Luker's avatar
Luker committed
stages:
  - build
  - deploy

job2:
  stage: build
Luker's avatar
Luker committed
  script: pdflatex Fenrir.tex; bibtex Fenrir; makeindex Fenrir; pdflatex Fenrir.tex; pdflatex Fenrir.tex; cp Fenrir.pdf ~/
Luker's avatar
Luker committed

job3:
  stage: deploy
Luker's avatar
Luker committed
  script: cd /var/lib/gitlab-runner/Thesis.wiki; git pull; cd /var/lib/gitlab-runner/Thesis.wiki; cp ~/Fenrir.pdf .; git add Fenrir.pdf; git commit -m '(gitlab-runner) updated pdf'; git push;
Luker's avatar
Luker committed