We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7e9ac3 commit e9e4223Copy full SHA for e9e4223
live-demo/deploy/.woodpecker.yml
@@ -16,8 +16,7 @@ steps:
16
commands:
17
- cd adminforth
18
- npm clean-install
19
- # - npm run build 2>&1 | tee build.log; [ $${PIPESTATUS[0]} -ne 0 ] && exit $${PIPESTATUS[0]}
20
- - npm run build
+ - /bin/sh buildRelease.sh
21
- npm audit signatures
22
- npx semantic-release
23
secrets:
live-demo/deploy/buildRelease.sh
@@ -0,0 +1,9 @@
1
+
2
+# write npm run output both to console and to build.log
3
+npm run build 2>&1 | tee build.log;
4
5
+# if exist status from the npm run build is not 0
6
+# then exit with the status code from the npm run build
7
+if [ ${PIPESTATUS[0]} -ne 0 ]; then
8
+ exit ${PIPESTATUS[0]}
9
+fi
0 commit comments