newrelic / deployment-marker-action

Github Action for recording a Deployment Marker in New Relic
https://github.com/marketplace/actions/new-relic-application-deployment-marker
Apache License 2.0
58 stars 23 forks source link

Question: Any way to retrieve the generated deployment id? #34

Closed mauro-dellachiesa-bl closed 1 year ago

mauro-dellachiesa-bl commented 1 year ago

I was wondering if it is possible to obtain the id of the deployment market the action creates. I would like to use it to query some metrics inside the context of another action's job.

Thanks!

jonathanpdx commented 1 year ago

We have some work in progress to handle that use case. Hopefully out next week.

JustinLewisNR commented 1 year ago

We've merged a feature into the action to push the deployment id to the github environment. See the updated readme for how to use this value.

sanderblue commented 1 year ago

Hi @mauro-dellachiesa-bl, this feature has been released in v2.3.0. If this doesn't solve your use case, please open a new feature request ticket with additional details of what you're looking to do. Thanks! 🙂