Commit c99aef3e authored by Jorge Tardío Rubio's avatar Jorge Tardío Rubio
Browse files

Update .gitlab-ci.yml

parent 270808d1
......@@ -13,34 +13,34 @@ build_mkdocs:
paths:
- data
prod_pdfs:
image: jtr0/latex-pandoc
stage: .post
pages:
image: jtr0/mkdocs-material:prod
stage: deploy
only:
- main
script:
- ls
- cp -r docs data/docs
- cp -r data/docs/imgs imgs
- pandoc -v
- pandoc -N --template=eisvogel.latex --listings -V lang=en --from markdown --variable mainfont="DejaVuSerif" --variable sansfont="DejaVuSans" --variable monofont="DejaVuSansMono" --variable fontsize=12pt --variable version=2.0 data/pdfs/pdf_metadata.md data/site/docs.pdf.md --pdf-engine=xelatex --toc -o data/pdfs/eisvogel_template.pdf
- pandoc -N --template=pandoc-scholar.latex --listings -V lang=en --from markdown --variable mainfont="DejaVuSerif" --variable sansfont="DejaVuSans" --variable monofont="DejaVuSansMono" --variable fontsize=12pt --variable version=2.0 data/pdfs/pdf_metadata.md data/site/docs.pdf.md --pdf-engine=xelatex --toc -o data/pdfs/pandoc-scholar_template.pdf
- pandoc -N --template=default.latex --listings -V lang=en --from markdown --variable mainfont="DejaVuSerif" --variable sansfont="DejaVuSans" --variable monofont="DejaVuSansMono" --variable fontsize=12pt --variable version=2.0 data/pdfs/pdf_metadata.md data/site/docs.pdf.md --pdf-engine=xelatex --toc -o data/pdfs/default_template.pdf
- mv data/pdfs/ public
- mkdocs build --verbose --site-dir public --no-directory-urls
artifacts:
paths:
- public
pages:
image: jtr0/mkdocs-material:prod
stage: deploy
generate_pdfs:
image: jtr0/latex-pandoc
stage: .post
only:
- main
script:
- mkdocs build --verbose --site-dir public --no-directory-urls
- ls
- pwd
- cp -r docs/imgs imgs
- pandoc -v
- pandoc -N --template=eisvogel.latex --listings -V lang=en --from markdown --variable mainfont="DejaVuSerif" --variable sansfont="DejaVuSans" --variable monofont="DejaVuSansMono" --variable fontsize=12pt --variable version=2.0 public/pdfs/pdf_metadata.md public/site/docs.pdf.md --pdf-engine=xelatex --toc -o public/pdfs/eisvogel_template.pdf
- pandoc -N --template=pandoc-scholar.latex --listings -V lang=en --from markdown --variable mainfont="DejaVuSerif" --variable sansfont="DejaVuSans" --variable monofont="DejaVuSansMono" --variable fontsize=12pt --variable version=2.0 public/pdfs/pdf_metadata.md public/site/docs.pdf.md --pdf-engine=xelatex --toc -o public/pdfs/pandoc-scholar_template.pdf
- pandoc -N --template=default.latex --listings -V lang=en --from markdown --variable mainfont="DejaVuSerif" --variable sansfont="DejaVuSans" --variable monofont="DejaVuSansMono" --variable fontsize=12pt --variable version=2.0 public/pdfs/pdf_metadata.md public/site/docs.pdf.md --pdf-engine=xelatex --toc -o public/pdfs/default_template.pdf
artifacts:
paths:
- public
- public/pdfs/
Supports Markdown
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