Commit 6ee71890 authored by Phil Hughes's avatar Phil Hughes

Adds to source folder instead of folder

parent d2747b99
Pipeline #6584966 passed with stages
in 11 minutes and 29 seconds
......@@ -458,8 +458,6 @@ After running that you can now run the following to generate the PDFs:
`bundle exec comparison_pdfs`
After they have generated you will need to copy the pdfs from `public/comparison/pdfs`
into the following folder [source/comparison/pdfs](https://gitlab.com/gitlab-com/www-gitlab-com/tree/master/source/comparison/pdfs).
Once you have done that you are free to commit and push these to GitLab.com
to then be merged into master.
......
#!/bin/bash
for filename in public/comparison/pdfs/*.html; do
pdffilename=${filename/.html/.pdf}
pdffilename=${pdffilename/public/source}
echo "👉 Generating PDF for $filename..."
wkhtmltopdf --margin-left 0 --margin-right 0 --margin-top 0 --zoom 3 $filename $pdffilename
......
Markdown is supported
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