I have 4 repos in Azure (all are in development branch):
- Web App
- Web API
- Mail Console 1
- Mail Console 2
Here's how I deploy them in testing phase:
1. Publish Web App and Web API
2. Build Mail Console 1 and 2, this generates the exe inside of bin folder in my project (I use Visual Studio)
3. Copy and paste the published files of Web App and Web API to their respective web service with FileZilla
4. In Web API's wwwroot folder, create a new folder called Tools (so now, I have wwwroot/Tools)
5. Copy and paste Mail Console 1 and 2 from bin folder to Tools folder with FileZilla.
Done.
That was all in testing, now I want to do it to production server. But, I am required to deploy it using the azure-pipelines.yml script in the repo. Well, I can probably set it up to automatically deploy the Web App and Web API with it, but now my problem is, how do I do step 3-5 (from the testing phase) in the production web service with azure-pipelines.yml?