fix: generate pdf don't clean git directory before commit #2
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
on: push | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
- name: Install dependencies | |
run: npm ci | |
- name: Install playwright browsers | |
run: npx playwright install --with-deps | |
- name: generate pdf | |
run: npm run generate-pdf:ci | |
- run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add public/resume_en.pdf public/resume_fr.pdf | |
git commit -m "generated pdf [skip ci]" | |
git push |