Skip to content

Fit to a single page #25

Fit to a single page

Fit to a single page #25

Workflow file for this run

name: Generate
on:
push:
branches: [main]
# Allows workflow to be manually run from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'chore')"
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup
run: mkdir -p site
- name: Generate PDF
uses: dante-ev/latex-action@2021-A
with:
root_file: resume.tex
- name: Generate JPG
uses: docker://dpokidov/imagemagick:latest
with:
args: -density 600 resume.pdf resume.jpg
- name: Commit Code
uses: devops-infra/action-commit-push@master
with:
github_token: "${{ secrets.GITHUB_TOKEN }}"
commit_message: "chore: Regenerate docs"