feature/excel #1

Open
mmintel wants to merge 84 commits from feature/excel into main
3 changed files with 9 additions and 1 deletions
Showing only changes of commit eae46d3048 - Show all commits

View File

@@ -455,6 +455,11 @@ jobs:
# Restart app to pick up clean migration state
ssh root@alpha.mintel.me "docker restart $APP_CONTAINER"
# Generate Excel Datasheets
echo "📊 Generating Excel Datasheets on live container..."
ssh root@alpha.mintel.me "docker exec $APP_CONTAINER pnpm run excel:datasheets" || echo "⚠️ Excel generation failed (non-blocking)"
ssh root@alpha.mintel.me "docker system prune -f --filter 'until=24h'"
- name: 🧹 Post-Deploy Cleanup (Runner)

View File

@@ -48,7 +48,7 @@ ENV RAYON_NUM_THREADS=3
ENV UV_THREADPOOL_SIZE=3
RUN pnpm build
RUN pnpm run excel:datasheets
# Excel generation moved to post-deploy
# Stage 2: Runner
FROM git.infra.mintel.me/mmintel/runtime:latest AS runner

View File

@@ -14,6 +14,7 @@ services:
PAYLOAD_SECRET: ${PAYLOAD_SECRET:-fallback-secret-for-production-needs-change}
volumes:
- klz_media_data:/app/public/media
- klz_datasheets:/app/public/datasheets
labels:
- "traefik.enable=true"
# HTTP ⇒ HTTPS redirect
@@ -111,3 +112,5 @@ volumes:
external: false
klz_media_data:
external: false
klz_datasheets:
external: false