From 2316ac752a2ea2dedb7ac9f0e3f5dacf4d080d5d Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sat, 28 Feb 2026 18:25:23 +0000 Subject: [PATCH] fix: replace removed woodpeckerci/plugin-slack with curl-based webhook --- .woodpecker/default.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.woodpecker/default.yml b/.woodpecker/default.yml index 2fb95c8f..c80c7366 100644 --- a/.woodpecker/default.yml +++ b/.woodpecker/default.yml @@ -42,10 +42,15 @@ steps: - "GIT_SSH_COMMAND='ssh -i ./secrets/deploy_key -o IdentitiesOnly=yes' git push origin master" - name: slack - image: woodpeckerci/plugin-slack - settings: - webhook: + image: curlimages/curl + commands: + - | + curl -s -X POST -H 'Content-type: application/json' \ + --data "{\"channel\":\"general\",\"text\":\"Woodpecker CI: infra pipeline ${CI_PIPELINE_STATUS}\"}" \ + "$SLACK_WEBHOOK" || true + secrets: [slack_webhook] + environment: + SLACK_WEBHOOK: from_secret: slack_webhook - channel: general when: - status: [success, failure]