Update resume #24
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: 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" |