Skip to content
Snippets Groups Projects
Commit 6ee71890 authored by Phil Hughes's avatar Phil Hughes
Browse files

Adds to source folder instead of folder

parent d2747b99
Branches andrey-remove-group-caching
No related tags found
2 merge requests!4731Downloadable comparison PDFs,!4461New releasepost look + Release post 9.0
Pipeline #
Showing with 1 addition and 2 deletions
Loading
Loading
@@ -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.
 
Loading
Loading
#!/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
Loading
Loading
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment