Open de87684333 opened 3 years ago
Hello
On our side, we add the same problem and we add "target": "deploy", inside the app { "hosting": [ { "app": { "project": "hello-world", "target": "deploy", "path": "dist/hello-world" }, "azureHosting": { ... } } ] }
Hope it's help
I'd like to avoid building automatically and deploying directly from a path, ideally I'd like to get an error if the path to be deployed is not existing or empty.
So I followed what is described in the README:
Prequisite: I first built with the configuration I need & "ng add ng-deploy-azure" run
If I only add "path", "ng run hello-world:deploy" is deploying without building as expected:
Example azure.json
But if I follow exactly what is described, I mean removing target & config, to avoid the automatic build, I got the following error message:
Example azure.json
I'd like to know what should I keep and what I can remove from this file to achieve my goal : deploying without building and getting an error if the app has not been built before (path empty or not existing)? I think that the README should be updated. Thanks for your help