Skip to content

revamp: remove sad social media networks, tweak dates, and I GOT MY D… #18

revamp: remove sad social media networks, tweak dates, and I GOT MY D…

revamp: remove sad social media networks, tweak dates, and I GOT MY D… #18

name: Generate Resume PDFs
on: [push]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- name: Setup go
uses: actions/setup-go@v2
with:
go-version: 1.17.0
- name: Install resume-exporter
run: go install github.com/kylegrantlucas/resume-exporter@latest
- name: Checkout repository
uses: actions/checkout@v2
- name: generate resume
run: make
- name: Artifact resumes to check
uses: actions/upload-artifact@v2
with:
name: resumes
path: output/*.pdf
- name: Release resumes
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
output/kyle_classic.pdf
output/kyle_modern.pdf
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: kylegrantlucas/kylelucas.io
event-type: resume-generated
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'