check if migraiton works

This commit is contained in:
Jun-te Kim 2026-01-06 23:18:06 +00:00
parent d436d70262
commit 1f3949c2ed
2 changed files with 3 additions and 2 deletions

View file

@ -8,7 +8,7 @@ on:
- "**"
jobs:
Push-to-docker-hub:
Push-to-juntekim-to-docker-hub:
runs-on: ubuntu-22.04
steps:

View file

@ -14,7 +14,6 @@ fi
# ==================================================
# GLOBAL CONFIG
# ==================================================
NAMESPACE="default"
K8S_STORAGE_ROOT="/k8s_storage"
BACKUP_ROOT="/tmp/k8s-backups"
DATE="$(date -u +%Y-%m-%d_%H-%M-%S)"
@ -35,6 +34,7 @@ case "$ENVIRONMENT" in
PG_SECRET_NAME="postgres-secret"
PG_POD_SELECTOR="app=postgres"
S3_PREFIX="dev"
NAMESPACE="dev"
;;
prod)
if [[ "${I_UNDERSTAND_THIS_IS_PROD:-}" != "true" ]]; then
@ -46,6 +46,7 @@ case "$ENVIRONMENT" in
PG_SECRET_NAME="postgres-prod-secret"
PG_POD_SELECTOR="app=postgres-prod"
S3_PREFIX="prod"
NAMESPACE="default"
;;
*)
echo "❌ Invalid ENVIRONMENT: $ENVIRONMENT (must be dev or prod)"