Judy Bogart fe3d597c0e Add deploy command doc (#15402)
* docs: add deploy command doc

* docs: fix json example

* docs: add link to cli builder doc

* docs: remove link

* docs: restore link
2019-08-22 10:14:38 -07:00

748 B

The command takes an optional project name, as specified in the projects section of the angular.json workspace configuration file. When a project name is not supplied, executes the deploy builder for the default project.

To use the ng deploy command, use ng add to add a package that implements deployment capabilities to your favorite platform. Adding the package automatically updates your workspace configuration, adding a deployment CLI builder. For example:

"projects": {
     "my-project": {
         ...
        "architect": {
            ...
            "deploy": {
                "builder": "@angular/fire:deploy",
                "options": {}
                }
            }
        }
    }