debug: add echo
Some checks failed
Blog Deployment / Check-Rebuild (push) Successful in 4s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 9s
Blog Deployment / Test-Staging (push) Failing after 2s
Blog Deployment / Merge (push) Has been skipped
Blog Deployment / Deploy-Production (push) Has been skipped
Blog Deployment / Test-Production (push) Has been skipped
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Notify (push) Successful in 2s
Some checks failed
Blog Deployment / Check-Rebuild (push) Successful in 4s
Blog Deployment / Build (push) Has been skipped
Blog Deployment / Deploy-Staging (push) Successful in 9s
Blog Deployment / Test-Staging (push) Failing after 2s
Blog Deployment / Merge (push) Has been skipped
Blog Deployment / Deploy-Production (push) Has been skipped
Blog Deployment / Test-Production (push) Has been skipped
Blog Deployment / Clean (push) Has been skipped
Blog Deployment / Notify (push) Successful in 2s
This commit is contained in:
@@ -212,10 +212,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
all_ok() {
|
all_ok() {
|
||||||
for job in Check-Rebuild Build Deploy-Staging Test-Staging Merge Deploy-Production Test-Production Clean; do
|
for job in Check-Rebuild Build Deploy-Staging Test-Staging Merge Deploy-Production Test-Production Clean; do
|
||||||
|
echo "result=${{ needs.${job}.result }}""
|
||||||
result="${{ needs.${job}.result }}"
|
result="${{ needs.${job}.result }}"
|
||||||
if not [[ "$result" == "success" || "$result" == "skipped" ]]; then
|
if not [[ "$result" == "success" || "$result" == "skipped" ]]; then
|
||||||
|
echo "job $job returned 1"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
echo "all ok"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user