Generate Pdf files #5
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 Pdf files | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Generate Pdfs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- 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 |