From 880bba77431eb26506c6a5f75990008b4c5e3739 Mon Sep 17 00:00:00 2001 From: Tobias Berger Date: Thu, 14 Oct 2021 22:09:05 +0200 Subject: [PATCH] Remove redundant CI step --- .drone.yml | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5138038..125c453 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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