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

Update .gitlab-ci.yml

parent fe71c933
......@@ -3,18 +3,14 @@ stages:
- deploy
- pdfs
build_mkdocs:
image: jtr0/mkdocs-material:dev
stage: build
only:
- main
script:
- pwd
- ls
- mkdir data
- mkdocs build --verbose --site-dir data --no-directory-urls
- ls
artifacts:
paths:
- data
......@@ -24,10 +20,8 @@ pages:
stage: deploy
only:
- main
script:
- mkdocs build --verbose --site-dir public --no-directory-urls
artifacts:
paths:
- public
......@@ -38,17 +32,11 @@ generate_pdfs:
only:
- main
script:
- ls
- pwd
- mkdir public/pdfs/
- ls public/
- ls data/
- 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 pdfs/pdf_metadata.md data/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 pdfs/pdf_metadata.md data/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 pdfs/pdf_metadata.md data/docs.pdf.md --pdf-engine=xelatex --toc -o public/pdfs/default_template.pdf
artifacts:
paths:
- 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