Skip to content

Commit 40dbdc5

Browse files
committed
try tee in all commands
1 parent b93ca34 commit 40dbdc5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

live-demo/deploy/.woodpecker.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ steps:
1717
- cd adminforth
1818
- npm clean-install
1919
- /bin/bash ../live-demo/deploy/buildRelease.sh
20-
- npm audit signatures
21-
- npx semantic-release
20+
-
2221
secrets:
2322
- GITHUB_TOKEN
2423
- NPM_TOKEN

live-demo/deploy/buildRelease.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
# write npm run output both to console and to build.log
55
npm run build 2>&1 | tee build.log
66

7+
npm audit signatures | tee build.log
8+
9+
npx semantic-release | tee build.log
10+
711
# if exist status from the npm run build is not 0
812
# then exit with the status code from the npm run build
913
if [ ${PIPESTATUS[0]} -ne 0 ]; then

0 commit comments

Comments
 (0)