06 May 2024 03:28 PM
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.
Solved! Go to Solution.
06 May 2024 03:51 PM
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: https://www.dynatrace.com/news/blog/tailored-access-management-part-2-onboard-users-to-grail-and-app...
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.
Best,
Penny
06 May 2024 04:00 PM
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.
08 May 2024 09:13 AM
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.
Best
Sini