Skip to content

Testing PDF Change

Testing PDF Change #3

Workflow file for this run

name: Convert PDF to PNG
on:
push:
paths:
- 'resume.pdf'
workflow_dispatch:
permissions:
contents: write
jobs:
convert:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install poppler-utils
run: sudo apt-get update && sudo apt-get install -y poppler-utils
- name: Convert PDF to PNG
run: pdftoppm -png -singlefile -r 150 resume.pdf resume
- name: Commit PNG
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add resume.png
git diff --staged --quiet || git commit -m "Update resume.png"
git push