File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 55COMMIT_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 ' {
Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ 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
2321 when :
2422 - event : push
23+ volumes :
24+ - /var/run/docker.sock:/var/run/docker.sock
2525 commands :
2626 - apt update && apt install -y rsync
2727 - export $(cat /woodpecker/deploy.vault.env | xargs)
3434 when :
3535 - event : push
3636 status : [failure, success]
37- - event : push
3837 image : curlimages/curl
3938 commands :
4039 - export $(cat /woodpecker/deploy.vault.env | xargs)
You can’t perform that action at this time.
0 commit comments