Alteração do Roteiro Pitch

This commit is contained in:
2025-11-03 12:38:12 -03:00
parent 3e6e352132
commit ffbd239c80
3 changed files with 55 additions and 31 deletions

View File

@@ -0,0 +1,31 @@
name: Convert Specific MD to PDF
on:
push:
branches: [main]
paths: ["RoteiroPitch.md"]
workflow_dispatch:
jobs:
convert:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Pandoc and basic LaTeX
run: |
sudo apt-get update
sudo apt-get install -y pandoc
sudo apt-get install -y texlive-xetex texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra texlive-latex-recommended
- name: Convert using pdflatex (alternativa)
run: |
pandoc "RoteiroPitch.md" -o "RoteiroPitch.pdf" --pdf-engine=pdflatex -V geometry:margin=1in
- name: Commit PDF to repository
run: |
git config --local user.email "actions@gitea.com"
git config --local user.name "Gitea Actions"
git add "RoteiroPitch.pdf"
git diff --staged --quiet || git commit -m "Auto-generate PDF from Markdown"
git push