diff --git a/.github/workflows/deploy-hubs.yaml b/.github/workflows/deploy-hubs.yaml index a94c4d4d5..76908ebff 100644 --- a/.github/workflows/deploy-hubs.yaml +++ b/.github/workflows/deploy-hubs.yaml @@ -392,7 +392,7 @@ jobs: try: staging_jobs = json.loads(r"""${{ needs.filter-failed-support.outputs.staging-jobs }}""") prod_jobs = json.loads(r"""${{ needs.filter-failed-support.outputs.prod-jobs }}""") - except KeyError: + except json.decoder.JSONDecodeError: staging_jobs = json.loads(r"""${{ needs.generate-jobs.outputs.staging-jobs }}""") prod_jobs = json.loads(r"""${{ needs.generate-jobs.outputs.prod-jobs }}""")