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
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:
@@ -391,9 +391,8 @@ jobs:
|
|||||||
|
|
||||||
docker system prune -f --filter "until=24h"
|
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
|
docker compose -p "$PROJECT_NAME" --env-file "$ENV_FILE" ps
|
||||||
|
|
||||||
echo "→ Applying Directus Schema Snapshot..."
|
echo "→ Applying Directus Schema Snapshot..."
|
||||||
# Note: We check if snapshot exists first to avoid failing if no snapshot is committed yet
|
# 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
|
if docker compose -p "$PROJECT_NAME" --env-file "$ENV_FILE" exec -T directus ls /directus/schema/snapshot.yaml >/dev/null 2>&1; then
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ ENV SKIP_RUNTIME_ENV_VALIDATION=true
|
|||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
|
|
||||||
# Copy package files
|
# Copy package files
|
||||||
COPY package.json pnpm-lock.yaml* .npmrc ./
|
COPY package.json pnpm-lock.yaml* ./
|
||||||
|
|
||||||
# Install dependencies based on the preferred package manager
|
# Install dependencies based on the preferred package manager
|
||||||
# Create .npmrc for private registry access if token is present
|
# Create .npmrc for private registry access if token is present
|
||||||
|
|||||||
Reference in New Issue
Block a user