python can't find '__main__' module in '.py' in Azure Pipelines
The reason that you can not get the source is because you use download: current to download artifacts produced by the current pipeline run, but you didn't publish any artifact in current pipeline.. As deployment jobs doesn't automatically check out source code, you need either checkout the source in your deployment job, - checkout: self