Using the Azure portal I have successfully configured Azure's Continuous Deployment for an Azure Web App (Web Site) from a GitHub or BitBucket repository.
Is it possible to automate the process with a PowerShell script? If required I'll use a REST endpoint. My googling for a solution has lead me nowhere.