Remove discord
This commit is contained in:
parent
19bea47aaa
commit
6614c2e329
1 changed files with 0 additions and 12 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue