16 lines
438 B
Bash
Executable file
16 lines
438 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
cd "$(dirname "$0")/.."
|
|
source deploy/env.sh
|
|
|
|
export K8S_NAMESPACE="$PROD_NAMESPACE"
|
|
export APP_HOST="$PROD_HOST"
|
|
export NEXT_PUBLIC_SITE_URL="https://${PROD_HOST}"
|
|
export NEXT_PUBLIC_API_BASE="https://${PROD_HOST}/api"
|
|
export APP_ENV="production"
|
|
export CLUSTER_ISSUER="$PROD_CLUSTER_ISSUER"
|
|
export INGRESS_CLASS
|
|
|
|
# optionally set APP_SECRET in the environment before running
|
|
bash deploy/deploy.sh
|