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:
@@ -108,7 +108,9 @@ export default function TeamPage() {
|
||||
return null; // Ne rien rendre côté serveur
|
||||
}
|
||||
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
|
||||
RUN mkdir -p .techradar/public/team && \
|
||||
@@ -444,7 +446,9 @@ else
|
||||
exit 1
|
||||
fi
|
||||
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
|
||||
RUN /tmp/add_team_link.sh
|
||||
|
||||
Reference in New Issue
Block a user