Files
cv-site/.github/workflows
juanatsap 0be8972429 fix: Skip PDF integration tests in CI
PDF generation tests require a running HTTP server for chromedp to connect to.
This is not available in CI environment, causing tests to fail with ERR_CONNECTION_REFUSED.

Changes:
- Added skip condition to TestDefaultCVShortcut when running in short mode
- Updated CI workflow to use -short flag for tests and benchmarks
- Removed Chrome installation from CI (not needed for unit tests)
- Integration tests can still run locally without -short flag
2025-11-25 06:10:26 +00:00
..
2025-10-31 11:06:38 +00:00
2025-11-25 06:10:26 +00:00

GitHub Actions Workflows

deploy.yml - Automated Deployment

Trigger: Push to main branch or manual dispatch

What it does:

  1. SSH into your server
  2. git pull origin main
  3. sudo systemctl restart cv-server
  4. Verify deployment via health check

Required GitHub Secrets:

  • SSH_PRIVATE_KEY - SSH private key for server access
  • SSH_HOST - Server IP or domain
  • SSH_USER - SSH username

Optional GitHub Secrets:

  • SSH_PORT (default: 22)
  • SERVICE_NAME (default: cv-server)
  • REPO_PATH (default: /opt/cv-server)

Manual deployment: Go to Actions → Deploy CV Server → Run workflow

Setup guide: See GITHUB-ACTION-SETUP.md