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

To use the {\ttfamily ng deploy} command, use {\ttfamily 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 \href{guide/cli-builder}{\texttt{ CLI builder}}. For example\+:


\begin{DoxyCode}{0}
\DoxyCodeLine{"{}projects"{}: \{}
\DoxyCodeLine{     "{}my-\/project"{}: \{}
\DoxyCodeLine{         ...}
\DoxyCodeLine{        "{}architect"{}: \{}
\DoxyCodeLine{            ...}
\DoxyCodeLine{            "{}deploy"{}: \{}
\DoxyCodeLine{                "{}builder"{}: "{}@angular/fire:deploy"{},}
\DoxyCodeLine{                "{}options"{}: \{\}}
\DoxyCodeLine{                \}}
\DoxyCodeLine{            \}}
\DoxyCodeLine{        \}}
\DoxyCodeLine{    \}}

\end{DoxyCode}
 