Skip to content

Update

Update #181

Workflow file for this run

name: Build resume
on:
push:
branches:
- main
permissions:
contents: read
id-token: write
pages: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: create file list
id: files_list
run: |
echo "files=$(printf '"%s" ' *)" > $GITHUB_OUTPUT
- uses: docker://pandoc/latex:2.9
with:
args: -s --metadata pagetitle="Marlon Mejia Resume" --css=styling.css -V lang=en -V highlighting-css= --mathjax -f markdown+smart resume.md -o resume.pdf
- uses: docker://pandoc/latex:2.9
with:
args: -s --metadata pagetitle="Marlon Mejia Resume" --css=styling.css -V lang=en -V highlighting-css= --mathjax -f markdown+smart resume.md -o resume.docx
- uses: docker://pandoc/latex:2.9
with:
args: -s --metadata pagetitle="Marlon Mejia Resume" --css=styling.css -V lang=en -V highlighting-css= --mathjax -f markdown+smart resume.md -o index.html
- name: List directory and files
run: ls & pwd
- name: Upload artifacts
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: .
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4