refactor: move app from apps/kai-sa-cam to the repository root
CD — Kai-Sa-Cam Deployment / deploy (push) Successful in 9s

- move sources, Dockerfile and build config (src, public, package.json,
  vite/tailwind/postcss/tsconfig, index.html) to the repo root
- docker-compose: build context is now "." instead of ./apps/kai-sa-cam
- add a .dockerignore (node_modules, dist, media, config, .env, ...) so
  the larger build context does not ship media, secrets or local
  node_modules into the image
- deploy workflow: replace the apps/kai-sa-cam/** paths filter with
  paths-ignore so pushes keep triggering deployments
- remove the Renovate workflow
This commit is contained in:
2026-10-26 09:01:54 +01:00
parent c8d78bacbb
commit e8fdda738e
29 changed files with 17 additions and 41 deletions
+3 -6
View File
@@ -3,12 +3,9 @@ name: CD — Kai-Sa-Cam Deployment
on:
push:
branches: [main]
paths:
- "apps/kai-sa-cam/**"
- "config/kai-sa-go2rtc.yaml"
- "docker-compose.yml"
- "Makefile"
- ".github/workflows/deploy.yml"
paths-ignore:
- "**.md"
- "renovate.json"
workflow_dispatch:
concurrency:
-33
View File
@@ -1,33 +0,0 @@
name: Renovate (Kai-Sa-Cam)
on:
schedule:
- cron: "0 4 * * 1"
workflow_dispatch:
concurrency:
group: renovate-kai-sa-cam
cancel-in-progress: false
jobs:
renovate:
runs-on: [kai-sa-cam]
steps:
- name: Mettre à jour les dépendances
env:
RENOVATE_PLATFORM: gitea
RENOVATE_ENDPOINT: ${{ github.server_url }}
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
RENOVATE_REPOSITORIES: ${{ github.repository }}
run: |
set -eu
mkdir -p /srv/apps/kai-sa-cam/renovate-cache
docker run --rm \
-e RENOVATE_PLATFORM \
-e RENOVATE_ENDPOINT \
-e RENOVATE_TOKEN \
-e RENOVATE_REPOSITORIES \
-e RENOVATE_ONBOARDING=false \
-e LOG_LEVEL=info \
-v /srv/apps/kai-sa-cam/renovate-cache:/tmp/renovate \
ghcr.io/renovatebot/renovate:latest