Manually triggered stage cannot be the single stage in pipeline
Azure Pipelines provides possibility to trigger stages manually by setting the flag in the stage definition like it is described in the below documentation:

Stages in Azure Pipelines - official docs
It is super easy to implement it. But you need to also remember that if the stage is marked to be triggered manually, then it cannot depend on other stages, so you need to set property dependsOn: [].
And if your pipeline contains only one stage, then it also cannot be marked as manual, because you will get the below error:

Then you need to remove property trigger: manual from the stage definition or set it back to the default value: trigger: automatic.