From b5e61a9cc363804faedbd48e308637190be76165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Mur=C3=A7a?= Date: Thu, 6 Mar 2025 23:47:41 -0300 Subject: [PATCH] Update folder --- .forgejo/workflows/release.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/release.yml b/.forgejo/workflows/release.yml index d952982..3a552bc 100644 --- a/.forgejo/workflows/release.yml +++ b/.forgejo/workflows/release.yml @@ -26,23 +26,28 @@ jobs: apt-get update apt-get install -y texlive texlive-latex-extra texlive-fonts-recommended + # Step 3: Create build directory + - name: Create dist directory + run: | + mkdir -p dist + # Step 3: Compile the LaTeX document (replace 'document.tex' with your actual file name) - name: Compile LaTeX document run: | - pdflatex main.tex + pdflatex -output-directory=build main.tex # Output PDF to 'build' folder # Step 4: Upload the compiled PDF as a release asset - name: Upload PDF to Release uses: actions/upload-artifact@v3 with: name: main.pdf # The file to upload as the release asset - path: main.pdf # Path to the compiled PDF + path: dist/main.pdf # Path to the compiled PDF - name: Create release uses: actions/forgejo-release@v2 with: token: ${{ secrets.RELEASE_TOKEN }} - release-dir: / + release-dir: dist direction: upload url: https://git.leomurca.xyz repo: leomurca/resume