Skip to content

Commit

Permalink
Merge pull request #189 from danny2p/deploy-marker
Browse files Browse the repository at this point in the history
Account for wf_type sync_code_with_build for IC sites
  • Loading branch information
MC authored Mar 12, 2023
2 parents 0c08e1c + 70af6e3 commit 0c44bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion new_relic_deploy/new_relic_deploy.php
Original file line number Diff line number Diff line change
Expand Up @@ -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`);
Expand Down

0 comments on commit 0c44bd1

Please sign in to comment.