projectkudu/slingshot

Doesn't deploy from a folder withing the repo

singhkays opened this issue · 8 comments

Deploy button doesn’t work from a folder within the repo. Can that be made to work? example below

https://github.com/azurermtemplates/azurermtemplates/tree/master/create-storage-account

So you're ok with the convention that the template name is always azuredeploy.json, but you just want it to work in a subfolder. Correct?

yep, template azuredeploy.json name is fine.

@davidebbo Any ETA on this? This is blocking for our community hackathon/contribution scenarios

Hi there. I just started working on it. Should be done by tomorrow sometime.

Awesome! Thanks @Tuesdaysgreen

I deployed it, but I couldn't get your template to work because it said that my subscription wasn't registered. I believe that's a back-end issue though. Please try it out and let me know if you run into issues.

@Tuesdaysgreen Works! Thank you :) Question on this, do I still need to point to the path (https://github.com/azurermtemplates/azurermtemplates/tree/master/create-storage-account) or can the button pick up azuredeploy.json from the repo it came from? https://azuredeploy.net/?repository=https://github.com/azurermtemplates/azurermtemplates/tree/master/create-storage-account

It can pick up the path automatically. e.g. this sample: https://github.com/davidebbo-test/DeployButtonScheduler/tree/master/sub