Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How Can I convert the final github page resume to PDF? #242

Open
kshitijzutshi opened this issue Jul 12, 2021 · 4 comments
Open

How Can I convert the final github page resume to PDF? #242

kshitijzutshi opened this issue Jul 12, 2021 · 4 comments

Comments

@kshitijzutshi
Copy link

When I try to Print the webpage, it looses all icons, colors and unnecessary texts. HOW can i print the page as it is, in all its formatting, icons and colors?

I tried Pandoc/latex etc, but it dosent work for me. Pl help

@kshitijzutshi
Copy link
Author

kshitijzutshi commented Jul 12, 2021

This relates to issue #120 as well. @sharu725 was there a fix to this open issue in 2019? 😅
Please tell me about this. Thank you.

@rarenet1976
Copy link

Can I ask how you got it working? I forked it and built it but it does not.

@hamzakat
Copy link

I use FireShot browser extension and it did the job.

@phixion
Copy link

phixion commented Apr 3, 2023

You could use a github action. This example will create a PDF from https://youronline.cv and commit it to the branch, so you can provide a download of the file.

name: create PDF file
on: 
  push:
    branches: 
      - gh-pages
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: convert page to pdf
      uses: wei/curl@master
      with:
        args: https\://v2.convertapi.com/convert/web/to/pdf\?download\=attachment\&secret\=${{ secrets.CONVERTAPI }}\&url\=https%3A%2F%2Fyouronline.cv -o cv_en.pdf
    - name: commit PDF to branch
      uses: stefanzweifel/git-auto-commit-action@v4
      with:
        commit_message: generate PDF from gh-pages
        branch: gh-pages
        file_pattern: cv_en.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants