I'm trying to set up continuous deployment from a Bitbucket repo to an Azure CDN. The usage scenario is that front-end developers will commit static assets (js, images, css stylesheets etc.) to their Bitbucket repo and trigger an automatic release to an Azure blob storage instance.
I've setup the CDN and its blob storage service endpoint and can serve test files from it successfully. What I can't figure out is how to connect Bitbucket to it. I have set up a Pipeline with a stock skeleton script, but now I'm stuck and need some pointers.
Also, the blob container is completely unstructured - is there some way of imposing a folder structure on it? The only workaround I can think of so far is to have separate containers (e.g. for css, js, img) but this seems like over-engineering when simple directories would seem to suffice. Can anyone please assist?