fix: ajout vérifications build pour diagnostiquer les changements

- Vérification contenu team.tsx dans logs build
- Vérification protection script JS dans logs build
- Diagnostic pour s'assurer que les changements sont appliqués

Cela aidera à déboguer pourquoi Portainer ne prend pas les changements
This commit is contained in:
syoul
2025-12-09 12:41:49 +01:00
parent 2ab2e1f261
commit 13a8730692

View File

@@ -108,7 +108,9 @@ export default function TeamPage() {
return null; // Ne rien rendre côté serveur return null; // Ne rien rendre côté serveur
} }
EOF EOF
RUN echo "✅ Page team.tsx créée (redirige vers /team.html)" RUN echo "✅ Page team.tsx créée (version ultra-simplifiée)" && \
echo "🔍 VÉRIFICATION: Contenu de team.tsx créé:" && \
cat .techradar/src/pages/team.tsx
# Créer aussi un fichier HTML statique /team/index.html pour garantir l'accès # Créer aussi un fichier HTML statique /team/index.html pour garantir l'accès
RUN mkdir -p .techradar/public/team && \ RUN mkdir -p .techradar/public/team && \
@@ -444,7 +446,9 @@ else
exit 1 exit 1
fi fi
SHEOF SHEOF
RUN chmod +x /tmp/add_team_link.sh RUN chmod +x /tmp/add_team_link.sh && \
echo "🔍 VÉRIFICATION: Script JavaScript modifié:" && \
grep -A 3 -B 1 "PROTECTION ABSOLUE" public/strategie-script.js || echo "❌ Protection non trouvée"
# Exécuter le script # Exécuter le script
RUN /tmp/add_team_link.sh RUN /tmp/add_team_link.sh