Run a job only if a precedent manual job were run


I’d like to create 2 manual job:

  • A release job (does a release and that’s it)

  • A “release and trigger deploy” job which does the precedent release and automatically triggers another project pipeline which does the deploy part.

    Release job:

    Release and trigger deploy job:
    -----release------|-----trigger other project pipeline----|

Right now I have a manual release and a manual trigger job. So I have to run manually the trigger job after the release job ended.

I found another post where the “needs:” keyword was used to achieve that.