Skip to content

Commit

Permalink
Update puppeteer.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hidaviddong committed Jun 18, 2024
1 parent 38eb817 commit 16d6b63
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/puppeteer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,15 @@ jobs:
- name: Remove old cv.pdf
run: rm -f public/cv.pdf

# - name: Run Puppeteer script
# run: deno run -A scripts/puppeteer.js
- name: Run Puppeteer script
run: deno run -A scripts/puppeteer.js

- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add public/cv.pdf
git commit -m "Remove old cv.pdf and update with new generated file"
git push

0 comments on commit 16d6b63

Please sign in to comment.