diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec7d841..a7559ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,15 +20,3 @@ jobs: run: npm ci - name: Run Cypress tests 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"