Generate resume pdf #40
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate resume pdf | |
on: [page_build] | |
jobs: | |
generate-pdf: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: html to pdf | |
uses: misaelnieto/web_to_pdf_action@master | |
with: | |
webPageURL: https://aalu1418.github.io | |
outputFile: ./resume.pdf | |
usePuppeteer: true | |
pdfOptions: '{"scale": 0.97}' | |
- name: Add resume as new commit | |
run: | | |
git config --global user.name 'pdf-gen-bot' | |
git config --global user.email '[email protected]' | |
git commit -am "new resume file generated" | |
git push |