Hauptproblem: Webhook-Deploy (deploy.sh) und GH-Actions-Deploy (deploy-from-artifact.sh) liefen gleichzeitig → Race auf .output-staging und doppelter pm2-restart. Fixes: - deploy-from-artifact.sh: setzt .deploy-ga.lock (noclobber, mit PID) während Deploy läuft; stale locks werden erkannt und überschrieben - deploy.sh: prüft .deploy-ga.lock bei Start — wenn GH-Actions aktiv, sauberes exit 0 statt Kollision - Health-Check: Retry-Loop (12× × 5s = max 60s) statt einmaligem sleep 5; Infisical-Login + Nitro-Start braucht auf gestresstem Server bis 30s - maestro-cloud.yml: ungültiges `if: secrets.X != ''` entfernt (secrets in if-conditions sind in GH-Actions immer leer); stattdessen expliziter secrets-check als erster Step mit klarer Fehlermeldung - pnpm --prefer-offline in deploy-from-artifact.sh: nutzt Store-Cache - .gitignore: .deploy-ga.lock ergänzt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
40 lines
653 B
Plaintext
40 lines
653 B
Plaintext
node_modules
|
|
.output
|
|
.output-staging
|
|
.nitro
|
|
.nuxt
|
|
.pnpm-store
|
|
|
|
# RN / Expo
|
|
apps/rebreak-native/ios/Pods
|
|
apps/rebreak-native/ios/build
|
|
apps/rebreak-native/ios/DerivedData
|
|
apps/rebreak-native/android/build
|
|
apps/rebreak-native/android/app/build
|
|
apps/rebreak-native/android/.gradle
|
|
apps/rebreak-native/.expo
|
|
|
|
# Build artefacts
|
|
*.log
|
|
*.tsbuildinfo
|
|
backend/server/generated
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Local env
|
|
.env
|
|
.env.local
|
|
*.local
|
|
|
|
# Claude Code agent state (lokale Definitionen, nicht versioniert)
|
|
.claude/
|
|
|
|
# xgit binary (generated)
|
|
xgit
|
|
|
|
# Server-only deploy state (NICHT committen — wird vom deploy.sh gepflegt)
|
|
.last-deployed-sha
|
|
.deploy-ga.lock
|