We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f72a26 commit 7f9274fCopy full SHA for 7f9274f
live-demo/deploy/.woodpecker.yml
@@ -32,7 +32,6 @@ steps:
32
when:
33
- event: push
34
status: [failure, success]
35
- - event: push
36
image: curlimages/curl
37
commands:
38
- export $(cat /woodpecker/deploy.vault.env | xargs)
live-demo/deploy/buildSlackNotify.sh
@@ -3,8 +3,9 @@
3
4
COMMIT_SHORT_SHA=$(echo $CI_COMMIT_SHA | cut -c1-8)
5
6
+echo 'CI_PREV_PIPELINE_STATUS', $CI_PREV_PIPELINE_STATUS
7
-if [ "$CI_STEP_STATUS" = "success" ]; then
8
+if [ "$CI_PREV_PIPELINE_STATUS" = "success" ]; then
9
MESSAGE="Did a build without issues on \`$CI_REPO_NAME/$CI_COMMIT_BRANCH\`. Commit: _${CI_COMMIT_MESSAGE}_ (<$CI_COMMIT_URL|$COMMIT_SHORT_SHA>)"
10
11
0 commit comments