Hi @Pedro
Thanks for the question. I believe your scenario is possible using Azure Pipelines task for Azure Database for PostgreSQL Flexible Server. You can automatically deploy your database updates to Azure Database for PostgreSQL Flexible Server after every successful build with Azure Pipelines.
Alternatively, you can use Azure automation or Azure functions to automate tasks.
Hope that helps. Please let us know if you have further questions.
Thanks,
Grace
------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--