Update resume.tex #25
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: Publish Resume | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Makedeb | |
run: | | |
curl -q 'https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub' | gpg --dearmor | sudo tee /usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg 1> /dev/null | |
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr $(lsb_release -cs)" | sudo tee /etc/apt/sources.list.d/prebuilt-mpr.list | |
- name: Install Dependencies | |
run: sudo apt-get update && sudo apt-get install -y texlive-xetex just | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Build Resume | |
run: just | |
- name: Clone Copy of Publish Branch Locally | |
run: git clone -b publish https://github.com/ChristopherJMiller/Resume.git ../Publish | |
- name: Move Payload into New Branch | |
run: mv resume.pdf ../Publish | |
- name: Check Work | |
run: ls -l ../Publish | |
- name: Configure Git | |
run: | | |
git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
git config --global user.name "github-actions[bot]" | |
- name: Commit | |
run: | | |
cd ../Publish | |
git add -A resume.pdf | |
git commit -m "Publish Resume" | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
directory: ../Publish | |
branch: publish |