Automating build, tests, and distribution
Ideally, you'll be using an automated process to build, test, and deploy your application, and not rely on doing it all manually, as manual processes are more error-prone.
This is where a CI/CD process is essential. As we've just manually deployed a Wasm app to Azure, let's start by looking at automating that process. Fortunately, the Visual Studio tooling makes it simple.
If you go through the Publish wizard for a project that is in a source control repository, after creating the web app, you'll be presented with an extra step (as seen in Figure 8.4). This can be used to create a YAML
file with the workflow configured for you:
The generated file will only need a single modification to account for the solution structure used by the Uno Platform templates. The working directory will need to be changed...