Update cover image to alternative 4 in PDF generation #24
This file contains hidden or 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: Genera PDF | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'book/**' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: generate pdf | |
| run: | | |
| cd book | |
| pip install reportlab markdown Pillow | |
| python ebook.py | |
| - name: commit & push | |
| run: | | |
| git add -A | |
| git config user.name github-actions | |
| git config user.email [email protected] | |
| git add . | |
| git commit -m "update ebook" | |
| git push |