This commit is contained in:
@@ -9,25 +9,27 @@ on:
|
||||
jobs:
|
||||
build-pdf:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/renovatebot/renovate:latest
|
||||
|
||||
container: texlive/texlive:latest
|
||||
|
||||
steps:
|
||||
- name: Install node :(
|
||||
run: |
|
||||
apt update -y
|
||||
apt install -y npm
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: xu-cheng/latex-action@v4
|
||||
with:
|
||||
root_file: |
|
||||
main.tex
|
||||
|
||||
|
||||
- name: Build PDF
|
||||
run: make pdf
|
||||
|
||||
- name: Upload PDF artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: curriculum-vitae
|
||||
path: main.pdf
|
||||
retention-days: 30
|
||||
|
||||
|
||||
- name: Deploy to pdf-artifacts branch
|
||||
if: github.ref == 'refs/heads/main'
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user