Skip to content

Commit 63f7aeb

Browse files
committed
try rewrite DEVELOPERS_SLACK_WEBHOOK
1 parent c2afdef commit 63f7aeb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

live-demo/deploy/.woodpecker.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ steps:
1717
commands:
1818
- cd adminforth
1919
- npm clean-install
20-
- npm run build > build.log 2>&1
20+
# log the build output to a file and also show it in the console
21+
- npm run build | tee build.log
2122
- npm audit signatures
2223
- npx semantic-release
2324
secrets:
@@ -32,7 +33,8 @@ steps:
3233
- event: push
3334
- status: failure
3435

35-
webhook: ${DEVELOPERS_SLACK_WEBHOOK}
36+
environment:
37+
SLACK_WEBHOOK: ${DEVELOPERS_SLACK_WEBHOOK}
3638
username: Woodpecker CI
3739
icon_url: ${CI_COMMIT_AUTHOR_AVATAR}
3840
template: >

0 commit comments

Comments
 (0)