From 4b3bcfd79265b9496d918d147323f28a63410f54 Mon Sep 17 00:00:00 2001 From: Evan Scamehorn Date: Thu, 8 Jan 2026 16:21:06 -0600 Subject: [PATCH] use new action runner --- .gitea/workflows/deploy.yaml | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index de52dfd..751172f 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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