Skip to content

Commit

Permalink
split out build and release
Browse files Browse the repository at this point in the history
  • Loading branch information
jcosentino11 committed Jun 14, 2024
1 parent 3a7da41 commit eb36354
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 5 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build Resume
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build-pdf:
name: Build PDF
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: baileyjm02/markdown-to-pdf@v1
with:
input_path: resume.md
theme: resume.css
output_dir: out
build_html: false
- uses: actions/upload-artifact@v3
with:
name: resume
path: out
10 changes: 5 additions & 5 deletions .github/workflows/resume.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Resume
name: Release Resume
on:
push:
branches:
- main
tags:
- 'v*'

jobs:
generate-pdf:
name: Generate PDF
release-pdf:
name: Release PDF
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit eb36354

Please sign in to comment.