You need to have 2 types of pipelines: a build pipeline and a release pipeline and you need to have all the pipelines in the same devops project, but not bound to the same repository, otherwise it will not work.
You can choose from several methods to implement the pipelines either with the classic editor or with the Azure git repos yml configs and remember that the context is lost from step to step.
I have an article about creating exactly what you are asking using the simple method the classic editor. Have a look.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You need to have 2 types of pipelines: a build pipeline and a release pipeline and you need to have all the pipelines in the same devops project, but not bound to the same repository, otherwise it will not work.
You can choose from several methods to implement the pipelines either with the classic editor or with the Azure git repos yml configs and remember that the context is lost from step to step.
I have an article about creating exactly what you are asking using the simple method the classic editor. Have a look.