Skip to content

Commit 34a3c5d

Browse files
committed
fix: update CI pipeline status check in buildSlackNotify script
1 parent c999748 commit 34a3c5d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.woodpecker/buildSlackNotify.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -x
55
COMMIT_SHORT_SHA=$(echo $CI_COMMIT_SHA | cut -c1-8)
66

77

8-
if [ "$CI_STEP_STATUS" = "success" ]; then
8+
if [ "$CI_PREV_PIPELINE_STATUS" = "success" ]; then
99
MESSAGE="Did a build without issues on \`$CI_REPO_NAME/$CI_COMMIT_BRANCH\`. Commit: _${CI_COMMIT_MESSAGE}_ (<$CI_COMMIT_URL|$COMMIT_SHORT_SHA>)"
1010

1111
curl -s -X POST -H "Content-Type: application/json" -d '{

.woodpecker/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ steps:
1515
from_secret: VAULT_TOKEN
1616
commands:
1717
- infisical export --domain https://vault.devforth.io/api --format=dotenv-export --env="prod" > /woodpecker/deploy.vault.env
18-
secrets:
19-
- VAULT_TOKEN
2018

2119
release:
2220
image: node:20

0 commit comments

Comments
 (0)