Hello @Maciej Stefaniak
Thanks for using Microsoft Q&A platform. For how to publish pipeline, I don't find anything currently. But for deploy endpoint, please check on this sample repo for SDK v2, there are several samples for you to refer about how to deploy endpoint - https://github.com/Azure/azureml-examples/tree/v2samplesreorg/sdk/python
Also, there is an example about using Azure Machine Learning (Azure ML) to create a production ready machine learning (ML) project, using AzureML Python SDK v2 (preview). - https://learn.microsoft.com/en-us/azure/machine-learning/tutorial-pipeline-python-sdk
I hope this helps, please let me know if you need more information or have any questiion regarding to above examples.
Regards,
Yutong
-Please kindly accept the answer if you feel helpful to support the community, thanks a lot.