diff --git a/.gitignore b/.gitignore index af29224..4112b91 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,6 @@ dist-ssr *.njsproj *.sln *.sw? + +# Deprecated (Inlined in Terraform) +firestore.rules diff --git a/GEMINI.md b/GEMINI.md index ecfd509..adcfb14 100644 --- a/GEMINI.md +++ b/GEMINI.md @@ -1,5 +1,8 @@ # GEMINI.md - Haumdaucher Project Handbook +## 🚨 Rules +**1. Infrastructure as Code is rule #1.** Manual creation of resources (e.g., via `gcloud` or Console) is forbidden. The use of Terraform/Tofu is mandatory. + This document serves as the "Source of Truth" for the Haumdaucher website. It outlines the design principles, technical architecture, and specialized features to ensure consistent future development. ## 🦢 Project Essence diff --git a/deploy.sh b/deploy.sh index 6c09770..288c317 100755 --- a/deploy.sh +++ b/deploy.sh @@ -16,8 +16,8 @@ kubectl create namespace $NAMESPACE --dry-run=client -o yaml | kubectl apply -f echo "📦 Building Docker image..." # Try to fetch Firebase config from Terraform -if [ -d "terraform" ] && [ -f "terraform/terraform.tfstate" ]; then - echo "🔍 Detected Terraform state. Fetching Firebase config..." +if [ -d "terraform" ]; then + echo "🔍 Detected Terraform directory. Fetching Firebase config..." cd terraform TF_OUT=$(terraform output -json firebase_config 2>/dev/null) cd .. diff --git a/index.html b/index.html index da31d6a..f140c39 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,8 @@