From 1e3ed206eb8a785d34ea747fa6ada2580cc228f0 Mon Sep 17 00:00:00 2001 From: robogg133 Date: Mon, 3 Nov 2025 11:32:52 -0300 Subject: [PATCH] Gitea Action teste --- .gitea/workflows/md-to-pdf.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitea/workflows/md-to-pdf.yml diff --git a/.gitea/workflows/md-to-pdf.yml b/.gitea/workflows/md-to-pdf.yml new file mode 100644 index 0000000..ee6ab89 --- /dev/null +++ b/.gitea/workflows/md-to-pdf.yml @@ -0,0 +1,28 @@ +name: Convert Specific MD to PDF +on: + push: + branches: [main, master] + paths: ["RoteiroPitch.md"] + workflow_dispatch: + +jobs: + convert: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Install Pandoc + run: | + sudo apt-get update + sudo apt-get install -y pandoc texlive-latex-base texlive-fonts-recommended texlive-latex-extra + + - name: Convert specific file + run: | + pandoc "Roteiro pitch.md" -o "Roteiro pitch.pdf" --pdf-engine=xelatex -V geometry:margin=1in + + - name: Upload PDF as artifact + uses: actions/upload-artifact@v4 + with: + name: generated-pdf + path: "*.pdf"