From c10659636013b3415e1d971189ca1b96448a4c0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Mon, 5 Feb 2024 10:48:11 +0100 Subject: [PATCH] Fix parsing of play recap --- .github/workflows/deploy_production.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_production.yml b/.github/workflows/deploy_production.yml index 3fdd1ac0..99c3edd6 100644 --- a/.github/workflows/deploy_production.yml +++ b/.github/workflows/deploy_production.yml @@ -55,7 +55,7 @@ jobs: script: | const commentTitle = "Ansible Run Output"; const ansiblePlaybookOutput = `${{ steps.playbook.outputs.ansible_playbook}}`; - const parts = ansiblePlaybookOutput.split("/^PLAY RECAP \*+/"); + const parts = ansiblePlaybookOutput.split(/^PLAY RECAP \*+/); const ansiblePlaybookRecap = parts.length > 1 ? parts[1].trim() : ''; const commentBody = `