From c6a13821927623fa058bdc04ffe07a9064a30b48 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 14 Oct 2026 11:59:08 +0000 Subject: [PATCH] =?UTF-8?q?Doc=20:=20Gitea=20seul=20d=C3=A9p=C3=B4t,=20acc?= =?UTF-8?q?=C3=A8s=20de=20Claude=20par=20jeton?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe --- CLAUDE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index d14fafe..41e4003 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -19,8 +19,8 @@ npm run build # build de prod ## Déploiement - Remote git : **Gitea** `https://gitea.rdacet.fr/romain/kino.git` (branche `main`). -- GitHub (miroir de travail Claude) : `https://github.com/rxOmdct/Kino`. -- Push via **PowerShell** : `git push` (GitHub Desktop n'authentifie pas Gitea). +- Claude Code (cloud) accède directement à Gitea : jeton `GITEA_TOKEN` en « network secret » de l'environnement (portée `write:repository`). Claude pousse sur une branche `claude/…` ; Romain fusionne dans `main` depuis Gitea (ce qui déploie). Plus de dépôt GitHub. +- Push via **PowerShell** : `git push`. - **Gitea Actions** (`.gitea/workflows/deploy.yml`) build et publie sur le **VPS** (nginx en LXC) à chaque push sur `main`. Site : https://azuucine.rdacet.fr - `vite.config.ts` contient un garde-fou : le build échoue si `VITE_SUPABASE_URL` / `VITE_SUPABASE_ANON_KEY` manquent en CI (variables/secrets Gitea Actions). La CSP et les en-têtes de sécurité y sont aussi définis (source unique → convertis en conf nginx par `deploy/headers-to-nginx.mjs`).