mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
Added debugging to diagnose cause of skipped canary builds
refs https://github.com/TryGhost/DevOps/issues/57 - this should help us find out why canary builds are skipped in some circumstances
This commit is contained in:
parent
3fa3a34187
commit
b60d5bbe06
1 changed files with 4 additions and 1 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -780,8 +780,11 @@ jobs:
|
|||
]
|
||||
name: Canary
|
||||
runs-on: ubuntu-latest
|
||||
if: always() && needs.job_get_metadata.outputs.is_canary_branch == 'true' && !(contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped'))
|
||||
if: ${{ always() && needs.job_get_metadata.outputs.is_canary_branch == 'true' && !(contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'failure') || contains(needs.*.result, 'skipped')) }}
|
||||
steps:
|
||||
- name: Output needs (for debugging)
|
||||
run: echo "${{ toJson(needs) }}"
|
||||
|
||||
- name: Set env variables
|
||||
run: |
|
||||
echo "CANARY_BUILD_INPUTS={\"version\":\"canary\",\"environment\":\"staging\"}" >> $GITHUB_ENV
|
||||
|
|
Loading…
Reference in a new issue