I have a project with many GitHub Repos and many workflows on each repo. We setup a deployment to register with an Environment when we deploy. At some point in the last couple of months the deployments tab has started to be inaccurate. I'm unsure what is causing the deployment status to change or if its being overwritten with failure, and I don't see how to get a history of this.
How can I see deployment objects from the GH side? Or how do you recommend that I troubleshoot this?
curl -L \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ghp_fakeToken239802930" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/{OWNER}/{REPO}/deployments
https://docs.github.com/en/rest/deployments/statuses?apiVersion=2022-11-28#list-deployment-statuses
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.