DONE: consolidate to use .env instead of .env.prod
Build Docker Image / build-backend (push) Successful in 32s
Build Docker Image / build-frontend (push) Successful in 15s

This commit is contained in:
ISMAIL MASSERAN
2026-06-30 12:11:52 +08:00
parent e958da316e
commit dcc150319a
5 changed files with 33 additions and 234 deletions
+2 -10
View File
@@ -71,19 +71,11 @@ jobs:
cd "${DEPLOY_DIR}"
if [ ! -f .env.production ]; then
echo "ERROR: ${DEPLOY_DIR}/.env.production is missing on the server"
if [ ! -f .env ]; then
echo "ERROR: ${DEPLOY_DIR}/.env is missing on the server"
exit 1
fi
# Optional compose-level env (REDIS_PASSWORD, API_PORT, FE_PORT, etc.)
if [ -f .env ]; then
set -a
# shellcheck disable=SC1091
source .env
set +a
fi
export IMAGE_TAG
export NGINX_CONF