Azure / Azure/ng-deploy-azure

Target did not produce any files, or the path is incorrect.

Open
#74 3 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
TypeScript
Stars
79
Forks
47
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
I have configured my `azure.json` file with the correct values according to the `AzureJSON` interface (using the `ng add @azure/ng-deploy` command). When I try to run `ng run :deploy` I get told that my path is empty (which it isn't). It then runs my build command and once again complains that my path is empty (which it isn't).

I also noticed that `getFiles` ignores directories https://github.com/Azure/ng-deploy-azure/blob/master/src/builders/actions/deploy.ts#L121. I have an `assets` folder in my build directory that should be included in the deployment.

My Angular application has multiple projects (app + libraries), if that bears any relevance.

**To Reproduce**
Steps to reproduce the behavior:
1. Create an angular app with projects.
2. Try to deploy a project.

**Expected behavior**
`ng run :deploy` should deploy my project compiled in the directory specified in `azure.json.hosting[0].app.path`.

**Screenshots**

Screenshot 2019-09-12 at 14 43 34

**Desktop (please complete the following information):**
- OS: OSX 10.14.6
- Browser n/a
- Version n/a

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.