Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to deploy a Dynatrace Custom App using GitHub Actions?


Hello colleagues, I'm having a problem deploying my Custom App via GitHub Actions.
The code is stuck in the authentication step, I'm using node.js v20 as indicated. If you can help me, I would really appreciate it!


That's the step.


Dynatrace Guide
Dynatrace Guide

Hi @MaximilianoML 

As a first step it would be good to check you have the proper policies & permissions assigned. Please make sure you have the policy AppEngine developer and AppEngine user policy assigned. For more information, please have a look at this blog:

It could be that you are missing the permission "app-engine:apps:install"


If this doesn't help your situation, let us know and share more information about the error, so that we can help you further.



Hello, @PennyScully!

First, thank you for your fast response! 

I already have this permission, and I have already performed other Deploys manually via CLI, but I want to automate this using GitHub Actions, with .yml, but the code is waiting for authentication but it should be done through the Browser, and this is my problem, I would like to know how to solve this.

Dynatrace Champion
Dynatrace Champion

Hi @MaximilianoML 

I assume you run the npm run deploy within the GitHub action.

To deploy you need to authenticate using an oauth Client and set the DT_APP_OAUTH_CLIENT_ID and DT_APP_OAUTH_CLIENT_SECRET environment variables.

Following are the docs that will help you:

Let me know if it works for you. 



Featured Posts