Remove discord

This commit is contained in:
ExostFlash 2025-07-10 13:52:54 +02:00
parent 19bea47aaa
commit 6614c2e329

View file

@ -20,15 +20,3 @@ jobs:
run: npm ci run: npm ci
- name: Run Cypress tests - name: Run Cypress tests
run: npx cypress run run: npx cypress run
- name: Notify Discord
if: always()
env:
DISCORD_WEBHOOK: https://discord.com/api/webhooks/1392833606929612861/CLMuEb_EKVSZA8JP83MuWNIGHkAqXgxxEvl1ONLWBktcEOv7ejX2z0tsq5okDTD4X81Z
run: |
STATUS=""
if [ ${{ job.status }} = 'success' ]; then
STATUS="✅ Les tests Cypress sont passés avec succès !"
else
STATUS="❌ Les tests Cypress ont échoué."
fi
curl -H "Content-Type: application/json" -X POST -d "{\"content\": \"$STATUS\"}" "$DISCORD_WEBHOOK"