added the api
Some checks failed
Deploy API / deploy (push) Failing after 3s

This commit is contained in:
Your Name 2026-05-19 17:56:12 -04:00
parent f5305c10d8
commit 30999a2cb2
11 changed files with 2486 additions and 0 deletions

View file

@ -0,0 +1,38 @@
name: Deploy API
on:
push:
branches:
- main
paths:
- 'clio-api/**'
jobs:
deploy:
runs-on: native
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Deploy API files
run: |
/run/current-system/sw/bin/rsync -av --delete \
--exclude '.venv' \
--exclude '__pycache__' \
--exclude '*.pyc' \
--exclude 'recordings/' \
--exclude 'recordings.db' \
--exclude 'keys/' \
--exclude 'data/' \
--exclude '.git' \
--exclude 'nixos/' \
./clio-api/ \
/work/hosting/clio/clio-api/
- name: Install dependencies
run: |
cd /work/hosting/clio/clio-api
/run/current-system/sw/bin/uv sync
- name: Verify deployment
run: ls -la /work/hosting/clio/clio-api/