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

Update .gitlab-ci.yml

parent a738e218
build_pdfs:
image: jtr0/latex-pandoc
stage: build
only:
- main
script:
- 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
artifacts:
paths:
- public
pages:
# image: docker:latest
image: jtr0/mkdocs-material:prod
stage: deploy
only:
- main
# services:
# - docker:19.03.0-dind
# before_script:
# - docker info
script:
# - docker build -t jtr0/mkdocs-material:prod -f mkdocs-material:prod.Dockerfile .
# - docker run --rm -p 8000:8000 -v ${PWD}:/docs jtr0/mkdocs-material:prod build --verbose --site-dir public --no-directory-urls
- mkdocs build --verbose --site-dir public --no-directory-urls
- mkdocs build --verbose --site-dir public --no-directory-urls
artifacts:
paths:
......
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