Skip to content

Commit

Permalink
Fix parsing of play recap
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Feb 5, 2024
1 parent b12927d commit c106596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = `
Expand Down

0 comments on commit c106596

Please sign in to comment.