chore: initial import of CoHaiSe Cloud
PR — Ouverture automatique / create-pr (push) Failing after 1s

Standalone files & media application: React/Vite frontend with the @cohaise/ui design system, Hono + MariaDB backend, nginx reverse proxy, Docker Compose stack, migrations 000-006, and project docs.

Adds Gitea Actions workflows for deployment, automatic pull requests, and Renovate dependency updates.
This commit is contained in:
2026-10-14 15:24:06 +02:00
commit cc397e96d8
113 changed files with 12678 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
name: CD — Déploiement
on:
push:
branches: [main]
paths:
- "backend/**"
- "frontend/**"
- "docker/**"
- "docker-compose.yml"
- "Makefile"
- ".github/workflows/deploy.yml"
workflow_dispatch:
concurrency:
group: deploy-cloud
cancel-in-progress: false
jobs:
deploy:
runs-on: self-hosted
steps:
- name: Récupérer puis reconstruire
env:
# Chemin du dépôt sur le serveur. Défini via le secret DEPLOY_DIR si
# besoin ; sinon la valeur par défaut ci-dessous est utilisée.
DEPLOY_DIR: ${{ secrets.DEPLOY_DIR }}
run: |
set -eu
dir="${DEPLOY_DIR:-/srv/apps/cohaise-cloud/CoHaiSe-CLOUD}"
cd "$dir"
git pull --ff-only origin main
make check
make front
docker compose build api nginx
docker compose up -d api nginx
docker image prune -f