Merge branch 'main' of github.com:carlitador/carlitador.github.io #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build cv | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Copy content from repository | |
uses: actions/checkout@v3 | |
- name: Compile PDF | |
uses: docker://pandoc/latex:latest | |
with: | |
args: --output=content/cv.pdf content/resume.md | |
- name: Copy output | |
uses: actions/upload-artifact@v3 | |
with: | |
name: output | |
path: content/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 |