Remove redundant CI step
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Tobias Berger 2021-10-14 22:09:05 +02:00
parent 3152e71ce7
commit 880bba7743

View file

@ -90,29 +90,6 @@ steps:
from_secret: discord_webhook_id_private
WEBHOOK_TOKEN_PRIVATE:
from_secret: discord_webhook_token_private
commands:
- source .env
- |-
export MESSAGE='{{#success build.status}}
✅ Build #{{build.number}} of `{{repo.name}}` succeeded.{{else}}
❌ Build #{{build.number}} of `{{repo.name}}` failed.{{/success}}
📝 Commit by {{commit.author}} on `{{commit.branch}}`:
```
{{commit.message}}
```
🌐 {{ build.link }}
🌐 '$VERCEL_BUILD_URL
- >-
drone-discord
--webhook-id $WEBHOOK_ID_PRIVATE
--webhook-token $WEBHOOK_TOKEN_PRIVATE
depends_on:
- deploy (production)
- deploy (preview)
- name: discord notification (dev server)
image: appleboy/drone-discord
environment:
WEBHOOK_ID_DEV_SERVER:
from_secret: discord_webhook_id_dev_server
WEBHOOK_TOKEN_DEV_SERVER:
@ -130,6 +107,10 @@ steps:
```
🌐 {{ build.link }}
🌐 '$VERCEL_BUILD_URL
- >-
drone-discord
--webhook-id $WEBHOOK_ID_PRIVATE
--webhook-token $WEBHOOK_TOKEN_PRIVATE
- >-
drone-discord
--webhook-id $WEBHOOK_ID_DEV_SERVER