Skip to content

Update index.js

Update index.js #31

Workflow file for this run

name: Generate PDF with XeLaTeX
on:
workflow_dispatch:
push:
branches:
- v2
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
ref: v2
- name: Ensure upload directory exists
run: mkdir -p NextJS-App/resgen/uploads
- name: Compile LaTeX to PDF
run: |
cd NextJS-App/resgen/uploads
xelatex -interaction=nonstopmode resume_output.tex || true
- name: Upload PDF artifact
uses: actions/upload-artifact@v3
with:
name: compiled-pdf
path: NextJS-App/resgen/uploads/resume_output.pdf