This commit is contained in:
parent
857ee4c658
commit
b54679456c
@ -8,22 +8,26 @@ on:
|
||||
|
||||
jobs:
|
||||
build-pdf:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/catthehacker/ubuntu:act-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: xu-cheng/latex-action@v4
|
||||
with:
|
||||
root_file: |
|
||||
main.tex
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- 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: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user