chore: update .gitignore to ignore all env files and retain example templates

Replace broad `.env*` ignore rule with explicit entries for real env files (`.env`, `.env.local`, `.env.development`, `.env.test`, `.env.production`) while preserving `.env.example` and adding exceptions for the new `.env.development.example`, `.env.test.example`, and `.env.production.example` templates.

Add environment-specific example files to document required variables for development, test, and production setups, including API base URLs, WebSocket endpoints, API timeouts, Auth.js secret, OAuth credentials (Google, Facebook), and Cloudflare CDN configuration.
This commit is contained in:
2026-06-12 14:24:56 +08:00
parent cac3ecd5de
commit 64fad08c4a
6 changed files with 81 additions and 47 deletions
-15
View File
@@ -1,15 +0,0 @@
#!/bin/bash
# ==========================================
# 开发环境 Web 部署脚本(Next.js + git push 模型)
# 原始 Dart: scripts/deploy/deploy_web_develop.sh
# ==========================================
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
source "$SCRIPT_DIR/_deploy_lib.sh"
# 主函数
main() {
push_to_server "dev"
}
main