Add support for environments for deployment #12731

Open
opened 2025-11-02 10:19:22 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @TimberBro on GitHub (Mar 25, 2024).

Feature Description

It would be great to add the ability to create different environments for deployments.
We can use the GitHub API as a reference:
https://docs.github.com/en/rest/deployments/environments
Or similar functionality from GitLab:
https://docs.gitlab.com/ee/api/environments.html

The current proposal will be a good basis for the implementation of the next feature, which is also missing:
https://docs.gitea.com/usage/actions/comparison#jobsjob_idenvironment

Screenshots

No response

Originally created by @TimberBro on GitHub (Mar 25, 2024). ### Feature Description It would be great to add the ability to create different environments for deployments. We can use the GitHub API as a reference: https://docs.github.com/en/rest/deployments/environments Or similar functionality from GitLab: https://docs.gitlab.com/ee/api/environments.html The current proposal will be a good basis for the implementation of the next feature, which is also missing: https://docs.gitea.com/usage/actions/comparison#jobsjob_idenvironment ### Screenshots _No response_
GiteaMirror added the topic/gitea-actionstype/proposal labels 2025-11-02 10:19:22 -06:00
Author
Owner

@TimberBro commented on GitHub (Mar 25, 2024):

I think, I can implement the backend part on my own, not I'm that confident with frontend part

@TimberBro commented on GitHub (Mar 25, 2024): I think, I can implement the backend part on my own, not I'm that confident with frontend part
Author
Owner

@dcmeadley commented on GitHub (Jul 9, 2024):

Definitely something I'd be interested in using

@dcmeadley commented on GitHub (Jul 9, 2024): Definitely something I'd be interested in using
Author
Owner

@renatohberg commented on GitHub (Nov 13, 2024):

I'm eagerly awaiting this feature.

@renatohberg commented on GitHub (Nov 13, 2024): I'm eagerly awaiting this feature.
Author
Owner

@lunny commented on GitHub (Nov 13, 2024):

I think the implementation is similar to Actions Vars from #24724, but we will have a different API endpoint like /<username>/<reponame>/environments

@lunny commented on GitHub (Nov 13, 2024): I think the implementation is similar to Actions Vars from #24724, but we will have a different API endpoint like `/<username>/<reponame>/environments`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12731