I've been setting up an automated deploy of a ASP.Net WebAPI project as an Azure cloud service using Octopus Deploy for the last few days. Note that this project contains a Web Role and a custom startup script. Ran into some problems along the way, but managed to get that part of the deploy done by running the build, performing a cspack
on the artifacts and octo pack
the CS package. That seems to be working as intended. It looks roughly like this:
Now I also need to deploy another project as an Azure cloud service. However, this project is a front-end project written in JavaScript using the AngularJS framework. I'm not entirely sure what would be the best way to deploy this project. It also needs to be a web role and execute a custom script at startup. Is it enough to add a .csdef
, .cscfg
and the startup script to it and follow up by executing cspack
? As a test I basically created a cloud service project in Visual Studio and added the /dist
of the front-end to it. I rather have a solution that doesn't require that additional project to be there. I'd be great if someone is able to give me some advice as I've been breaking my head over this for way too long now.