Skip to content

Commit 7361185

Browse files
committed
docs: add CLI prompt example for ng deploy
1 parent eb4cc5b commit 7361185

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,23 @@ If you already have an existing Angular project on GitHub, skip steps 1 and 2.
8181
- Please enter the URL `https://github.com/<username>/<repositoryname>.git` into your browser – you should see your existing repository on GitHub.
8282
- Please double-check that you have the necessary rights to make changes to the given project!
8383

84-
3. Add `angular-cli-ghpages` to your project. When you run `ng deploy` for the first time, the Angular CLI will prompt you to choose a deployment target – select **angular-cli-ghpages** from the list:
84+
3. Add `angular-cli-ghpages` to your project. When you run `ng deploy` for the first time, the Angular CLI will prompt you to choose a deployment target – select **GitHub Pages**:
8585

8686
```sh
8787
ng deploy
8888
```
8989

90+
```
91+
Would you like to add a package with "deploy" capabilities now?
92+
No
93+
Amazon S3
94+
Firebase
95+
Netlify
96+
❯ GitHub Pages
97+
98+
↑↓ navigate • ⏎ select
99+
```
100+
90101
Alternatively, you can install it directly via `ng add angular-cli-ghpages`. See the [installation section](#installation) for details.
91102

92103
4. After the installation, the same `ng deploy` command will build and deploy your project. Your project will be automatically built in production mode.

0 commit comments

Comments
 (0)