Run manual job when ready


Most of my gitlab CIs are using those stages

  1. build
  2. test
  3. deploy

The deploy is always manual, on some projects the build + test step can be quite long and most of the time I work on something else while building and I forgot to deploy.

I want to keep the manual deploy because I do not want to deploy directly all the time, but on the deploy job while the previous steps are not done is there any way to have a button saying “Run when success” so I do not have to come back in my pipeline once built

Thanks for the help !

“Run when success” is the behavior when the job is NOT manual. What would be the difference?

Sometime I would like to act like not manual on some envs without editing my ci