Files
juanatsap 6fdba29870
Deploy CV Server / Deploy to VPS (push) Successful in 18s
ci: simplify deploy workflow for host-mode runner
2026-05-20 18:48:36 +01:00

16 lines
602 B
YAML

name: Deploy CV Server
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy to VPS
runs-on: ubuntu-latest
steps:
- name: Deploy via SSH
run: ssh -o StrictHostKeyChecking=no txeo@172.233.115.81 "cd /home/txeo/Git/yo/cv && sudo chown -R txeo:txeo . && git clean -fd && git remote set-url origin https://repos.txeo.club/txeo/cv-site.git && git pull origin main && sudo cp config/systemd/cv.service /etc/systemd/system/cv.service && sudo systemctl daemon-reload && sudo systemctl restart cv && sleep 3 && curl -sf http://localhost:1999/health && echo DEPLOY_OK"