fix: deploy...
Some checks failed
Build & Deploy KLZ Cables / 🔍 Prepare Environment (push) Successful in 6s
Build & Deploy KLZ Cables / 🧪 Quality Assurance (push) Successful in 1m27s
Build & Deploy KLZ Cables / 🏗️ Build App (push) Successful in 3m1s
Build & Deploy KLZ Cables / 🚀 Deploy (push) Successful in 29s
Build & Deploy KLZ Cables / ⚡ PageSpeed (push) Failing after 5m47s
Build & Deploy KLZ Cables / 🔔 Notifications (push) Successful in 2s

This commit is contained in:
2026-02-10 17:42:02 +01:00
parent f5df62c297
commit 7965e9c01a
2 changed files with 2 additions and 3 deletions

View File

@@ -391,9 +391,8 @@ jobs:
docker system prune -f --filter "until=24h"
echo "✅ Deployment successful. Containers are Health."
echo "✅ Deployment successful. Containers are Healthy."
docker compose -p "$PROJECT_NAME" --env-file "$ENV_FILE" ps
echo "→ Applying Directus Schema Snapshot..."
# Note: We check if snapshot exists first to avoid failing if no snapshot is committed yet
if docker compose -p "$PROJECT_NAME" --env-file "$ENV_FILE" exec -T directus ls /directus/schema/snapshot.yaml >/dev/null 2>&1; then

View File

@@ -23,7 +23,7 @@ ENV SKIP_RUNTIME_ENV_VALIDATION=true
RUN corepack enable
# Copy package files
COPY package.json pnpm-lock.yaml* .npmrc ./
COPY package.json pnpm-lock.yaml* ./
# Install dependencies based on the preferred package manager
# Create .npmrc for private registry access if token is present