Update folder
Some checks failed
Compile LaTeX and Release PDF / build_latex (push) Failing after 52s

This commit is contained in:
Leonardo Murça 2025-03-06 23:47:41 -03:00
parent b865ddcea3
commit b5e61a9cc3

View file

@ -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