We have setup ADF with Azure DevOps git integration. Our CD pipeline is triggered when there are new ARM templates pushed to adf_publish branch.
Current process on our pipeline is, once a PR is approved it is merged to collaboration branch (Master). Once this is done, we go to the portal and manually click on ADF's publish button to generate the ARM templates in adf_publish branch. I am unable to automate this end to end due to us having to manually Publish the changes.
Ideally I am looking at automating the publishing part. Once the PR is approved our pipeline should be able to execute the publishing process automatically. I have been unable to find a way to automate the publishing part.
So the question is, is there a way to execute ADF publishing process via AZ or PoweShell CLI or some other way? Suggestions welcome. Thanks