diff --git a/new_relic_deploy/new_relic_deploy.php b/new_relic_deploy/new_relic_deploy.php index e381971..296e378 100644 --- a/new_relic_deploy/new_relic_deploy.php +++ b/new_relic_deploy/new_relic_deploy.php @@ -30,7 +30,7 @@ // have good deploy markers, we gather data differently depending // on the context. -if ($_POST['wf_type'] == 'sync_code') { +if (in_array($_POST['wf_type'], ['sync_code','sync_code_with_build'])) { // commit 'subject' $description = trim(`git log --pretty=format:"%s" -1`); $revision = trim(`git log --pretty=format:"%h" -1`);