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

Update .gitlab-ci.yml

parent 4c1425f8
build_mkdocs:
image: jtr0/mkdocs-material:dev
stage: build
......@@ -9,7 +8,7 @@ build_mkdocs:
- ls
- mkdir data
- mkdocs build --verbose --site-dir data --no-directory-urls
- ls
artifacts:
paths:
- data
......@@ -21,12 +20,14 @@ build_pdfs:
only:
- main
script:
- cp docs /data/docs
- cp -r /data/docs/imgs /imgs
- 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
- 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
artifacts:
paths:
- public
......
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