The Gitea Actions workflow checks out a fresh copy of the repo via actions/checkout, which never has frontend/.env.local (it's gitignored, only exists in the manually-maintained /root/realtime-collab clone). Without it, Vite silently fell back to the localhost dev defaults and baked a broken API URL into the production bundle — every CI-triggered build overwrote a working manual build with a broken one. Co-Authored-By: Claude Sonnet 5 <[email protected]>
46 lines
622 B
Plaintext
46 lines
622 B
Plaintext
# Environment variables (local overrides only)
|
|
# .env files are committed (contain production URLs, not secrets)
|
|
# .env.local files are git-ignored (contain local overrides)
|
|
.env.local
|
|
.env.*.local
|
|
backend/.env.local
|
|
frontend/.env.local
|
|
.env
|
|
|
|
# AI assistant instructions (keep private)
|
|
CLAUDE.md
|
|
|
|
# IDE and editor files
|
|
.vscode/
|
|
.idea/
|
|
*.swp
|
|
*.swo
|
|
*~
|
|
.DS_Store
|
|
|
|
# OS-specific files
|
|
Thumbs.db
|
|
*.log
|
|
|
|
# Dependencies
|
|
node_modules/
|
|
|
|
# Build artifacts
|
|
dist/
|
|
dist-ssr/
|
|
build/
|
|
*.local
|
|
|
|
# Docker volumes and data
|
|
postgres_data/
|
|
|
|
.claude/
|
|
|
|
#test folder profiles
|
|
loadtest/pprof
|
|
|
|
/docs
|
|
|
|
# K3s secrets
|
|
k3s/secret.yaml.playwright-mcp/
|