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

gitlab-ci updated

parent f7c8449e
Pipeline #2563 failed with stages
in 56 seconds
......@@ -10,8 +10,7 @@ build_mkdocs:
- main
script:
- export ENABLE_PANDOC_EXPORT=1
- mkdir data
- mkdir data/en
- mkdir -p data/en
- mkdir data/es
- mkdocs build -f config/en/mkdocs.yml --verbose --site-dir ../../data/en --no-directory-urls
- mkdocs build -f config/es/mkdocs.yml --verbose --site-dir ../../data/es --no-directory-urls
......@@ -25,17 +24,11 @@ pages:
only:
- main
script:
- ls
- pwd
- mkdir -p public/en
- mkdir public/es
- mkdocs build -f config/en/mkdocs.yml --verbose --no-directory-urls
- mkdocs build -f config/es/mkdocs.yml --verbose --no-directory-urls
- ls
- pwd
- cp -r public/en/* public
- ls public/
- ls public/en
artifacts:
paths:
- public
......@@ -48,9 +41,14 @@ generate_pdfs:
script:
- mkdir public/pdfs/
- cp -r 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 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 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 pdf_metadata.md data/docs.pdf.md --pdf-engine=xelatex --toc -o public/pdfs/default_template.pdf
# English pdfs
- 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 pdf_metadata.md data/en/docs.pdf.md --pdf-engine=xelatex --toc -o public/pdfs/en/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 pdf_metadata.md data/en/docs.pdf.md --pdf-engine=xelatex --toc -o public/pdfs/en/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 pdf_metadata.md data/en/docs.pdf.md --pdf-engine=xelatex --toc -o public/pdfs/en/default_template.pdf
# Spanish pdfs
- 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 pdf_metadata.md data/es/docs.pdf.md --pdf-engine=xelatex --toc -o public/pdfs/es/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 pdf_metadata.md data/es/docs.pdf.md --pdf-engine=xelatex --toc -o public/pdfs/es/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 pdf_metadata.md data/es/docs.pdf.md --pdf-engine=xelatex --toc -o public/pdfs/es/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