Skip to content

Commit

Permalink
Update pandoc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cdhainaut authored Feb 9, 2024
1 parent 6785f67 commit 1c24003
Showing 1 changed file with 30 additions and 12 deletions.
42 changes: 30 additions & 12 deletions .github/workflows/pandoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,35 @@ on:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ github.workspace }}
steps:
- name: Checkout repo
uses: actions/[email protected]
- name: Copy resume.md to working directory
run: cp content/resume.md .
- name: Build PDF
- name: Copy content from repository
uses: actions/checkout@v3
- name: Compile PDF
uses: docker://pandoc/latex:latest
with:
args: "resume.md --output=cv.pdf"
- name: Move PDF to content folder
run: mv -f cv.pdf content/cv.pdf
with:
args: --output=cv.pdf content/resume.md
- name: Copy output
uses: actions/upload-artifact@v3
with:
name: output
path: cv.pdf

# defaults:
# run:
# working-directory: ${{ github.workspace }}
# steps:
# - name: Checkout repo
# uses: actions/[email protected]
# - name: Copy resume.md to working directory
# run: cp content/resume.md .
# - name: Build PDF
# uses: docker://pandoc/latex:latest
# with:
# args: "resume.md --output=cv.pdf"
# #- name: Move PDF to content folder
# # run: mv -f cv.pdf content/cv.pdf
# - name: Copy output
# uses: actions/upload-artifact@v3
# with:
# name: output
# path: output/test.pdf

0 comments on commit 1c24003

Please sign in to comment.