1 | The command takes an optional project name, as specified in the `projects` section of the `angular.json` workspace configuration file.
|
2 | When a project name is not supplied, executes the `deploy` builder for the default project.
|
3 |
|
4 | To use the `ng deploy` command, use `ng add` to add a package that implements deployment capabilities to your favorite platform.
|
5 | Adding the package automatically updates your workspace configuration, adding a deployment
|
6 | [CLI builder](guide/cli-builder).
|
7 | For example:
|
8 |
|
9 | ```json
|
10 | "projects": {
|
11 | "my-project": {
|
12 | ...
|
13 | "architect": {
|
14 | ...
|
15 | "deploy": {
|
16 | "builder": "@angular/fire:deploy",
|
17 | "options": {}
|
18 | }
|
19 | }
|
20 | }
|
21 | }
|
22 | ``` |
\ | No newline at end of file |