use new action runner

This commit is contained in:
Evan Scamehorn
2026-01-08 16:21:06 -06:00
parent 56676faf8d
commit 4b3bcfd792

View File

@@ -9,22 +9,14 @@ on:
jobs:
render-cv:
runs-on: python-latest
runs-on: site-builder
steps:
- name: Install Deploy Tools
run: |
apt-get update
apt-get install -y git rsync openssh-client
git clone --depth 1 "http://localhost:3000/${{ github.repository }}.git" .
- name: Clone
run: git clone --depth 1 "http://localhost:3000/${{ github.repository }}.git" .
- name: Render CV
run: |
# Use uvx to run rendercv instantly.
uvx --with "rendercv[full]" rendercv render resume.yaml
# Prepare for rsync
mkdir -p ./deploy
find rendercv_output -name "*.pdf" -exec cp {} ./deploy/cv.pdf \;
- name: Deploy CV via Rsync
env:
@@ -41,5 +33,5 @@ jobs:
# Sync only the PDF
rsync -avz \
-e "ssh -p $REMOTE_PORT" \
./deploy/cv.pdf \
./rendercv_output/*.pdf \
$REMOTE_USER@$REMOTE_HOST:/var/www/cv.pdf