Skip to content

Commit 779b58f

Browse files
author
Cameron Dawson
authored
Fix New Relic after upgrading python package (#6764)
1 parent 4196d22 commit 779b58f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/pre_deploy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ if [[ -v NEW_RELIC_CONFIG_FILE ]]; then
5959
# Report the deploy to New Relic using their Python agent. In addition to
6060
# the passed arguments, record-deploy references the environment variables
6161
# `NEW_RELIC_APP_NAME` and `NEW_RELIC_API_KEY`.
62-
newrelic-admin record-deploy "$NEW_RELIC_APP_ID" \
63-
"$NEW_RELIC_CONFIG_FILE" \
64-
"$HEROKU_SLUG_COMMIT" \
62+
newrelic-admin record-deploy "$NEW_RELIC_CONFIG_FILE" \
6563
"$DESCRIPTION" \
64+
"$HEROKU_SLUG_COMMIT" \
6665
"$CHANGELOG" \
6766
"$USER"
67+
echo "-----> PRE-DEPLOY: Deployed to New Relic App: " $NEW_RELIC_APP_NAME
6868
fi
6969

7070
echo "-----> PRE-DEPLOY: Complete!"

0 commit comments

Comments
 (0)