feat: test green blue
Laravel CI-CD / Tests Unitaires (push) Successful in 21s Details
Laravel CI-CD / Build & Push Docker (push) Successful in 54s Details
Laravel CI-CD / Deploy Blue/Green (Caddy routing) (push) Failing after 18s Details

This commit is contained in:
Leon Morival 2026-05-19 16:21:24 +02:00
parent fec5674cdf
commit 1259ebc3a9
1 changed files with 7 additions and 4 deletions

View File

@ -94,12 +94,15 @@ jobs:
script: |
set -eu
cd /opt/bemeal
APP_DIR="/opt/bemeal"
ls -la
cd "$APP_DIR"
COMPOSE="docker compose --env-file .env.prod -f /opt/bemeal/docker-compose.prod.yml"
IMAGE="$REGISTRY/$IMAGE_NAME:$IMAGE_TAG"
COMPOSE="docker compose \
--project-directory $APP_DIR \
--env-file $APP_DIR/.env.prod \
-f $APP_DIR/docker-compose.prod.yml"
IMAGE="$REGISTRY/$IMAGE_NAME:$IMAGE_TAG"
docker pull "$IMAGE"