Is it possible to use this action without creating environments? #164
Replies: 1 comment
-
|
No, the GitHub deployments API is not accessible for creating deployments in private repositories on free accounts, as this functionality inherently requires the use of environments. Deployments in GitHub are designed to track and manage software deployments to specific environments (such as staging, production, or custom setups), and environments provide controls like required reviewers, deployment branches, and secrets. Without access to environments, you cannot create or manage deployments via the API. Key Details:
For more details, see:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm pretty confused about the whole GitHub deployments feature. The documentation seems to be mostly about generic GitHub Actions, and not specifically actions that register a deployment on GitHub. So thank you for creating this Action; its existence has helped clear some things up for me!
Right now I'm working in a private repository, owned by an organization, on the free plan. It seems like the deployments feature is enabled for this repository, since I have this UI on my PRs:

However, I can't actually create any environments because that feature isn't available on private repos: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#creating-an-environment
Is there a way to still register deployments without creating environments?
Beta Was this translation helpful? Give feedback.
All reactions