From 63f7aebbc7c8c4d64887f0053ef368d74377210d Mon Sep 17 00:00:00 2001 From: Ivan Borshchov Date: Sat, 11 Jan 2025 21:07:23 +0200 Subject: [PATCH] try rewrite DEVELOPERS_SLACK_WEBHOOK --- live-demo/deploy/.woodpecker.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/live-demo/deploy/.woodpecker.yml b/live-demo/deploy/.woodpecker.yml index 33df7e35..2140640b 100644 --- a/live-demo/deploy/.woodpecker.yml +++ b/live-demo/deploy/.woodpecker.yml @@ -17,7 +17,8 @@ steps: commands: - cd adminforth - npm clean-install - - npm run build > build.log 2>&1 + # log the build output to a file and also show it in the console + - npm run build | tee build.log - npm audit signatures - npx semantic-release secrets: @@ -32,7 +33,8 @@ steps: - event: push - status: failure - webhook: ${DEVELOPERS_SLACK_WEBHOOK} + environment: + SLACK_WEBHOOK: ${DEVELOPERS_SLACK_WEBHOOK} username: Woodpecker CI icon_url: ${CI_COMMIT_AUTHOR_AVATAR} template: >