Replies: 1 comment 1 reply
-
Duplicate of #36919? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Right now I think those are tightly coupled to deployments. Each job running with
environment: name
generate new deployment in repo. This makes using environment scoped vars and secrets pretty irritating process that pollutes repository with useless deployments that could never actually happen.Here is my use case:
staging
,sandbox
,production
.initialize
,build
,deploy
,finalize
jobs).As I run deploy workflow I get three deployments. First is manual one created by me, next from
build
job and one fromdeploy
job. Since my manual deployment was older than thedeploy
job created it is not shown as latest deployment on env. I needed to create custom action to remove those unwanted deployments.Same thing with other workflows that do not deploy anything but wants to access environment. Each run generates new deployment and I need to cleanup.
Why pollute such useful feature that is environment scoped vars and secrets with deployments? Is there a way to turn off automatic deployment creation?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions