Skip to content

minor changes to readme (to check rendering) #5

minor changes to readme (to check rendering)

minor changes to readme (to check rendering) #5

Workflow file for this run

name: Render Markdown to PDF using Quarto
on:
push:
branches:
- main
paths:
- README.md # Only trigger the workflow when README.md changes
jobs:
render-pdf:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Check failure on line 20 in .github/workflows/readme.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/readme.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
with: tinytex: true
- name: Render README.md to PDF
run: |
quarto render README.md --to pdf --output README.pdf
- name: Commit PDF
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git add .publish/README.pdf
git commit -m "Add rendered README.pdf"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}