Create deployments from the elmah.io CLI
Deployments can be easily created from either the command-line or a build server using the elmah.io CLI. There's a help page dedicated to the deployment command but here's a quick recap.
If not already installed, start by installing the elmah.io CLI:
dotnet tool install --global Elmah.Io.Cli
Then, create a new deployment using the
elmahio deployment --apiKey API_KEY --version 1.0.0
In case you are calling the CLI from a build server, you may want to exclude the elmah.io logo and copyright message using the
--nologo parameter to reduce log output and to avoid cluttering the build output:
elmahio deployment --nologo --apiKey API_KEY --version 1.0.0
This article was brought to you by the elmah.io team. elmah.io is the best error management system for .NET web applications. We monitor your website, alert you when errors start happening, and help you fix errors fast.