You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,7 @@
29
29
-[--no-nojekyll](#no-nojekyll)
30
30
-[--cname](#cname)
31
31
-[--add](#add)
32
+
-[--dir](#dir)
32
33
-[--dry-run](#dry-run)
33
34
7.[📁 Configuration File](#configuration-file)
34
35
8.[🌍 Environments](#environments)
@@ -247,7 +248,7 @@ See the option [--cname](#cname) for more information!
247
248
248
249
If no `buildTarget` is set, the `production` build of the default project will be chosen.
249
250
The `buildTarget` simply points to an existing build configuration for your project, as specified in the `configurations` section of `angular.json`.
250
-
Most projects have a default configuration and a production configuration (commonly activated by using the `--prod` flag) but it is possible to specify as many build configurations as needed.
251
+
Most projects have a default configuration and a production configuration (commonly activated by using the `--configuration production` option) but it is possible to specify as many build configurations as needed.
251
252
252
253
This is equivalent to calling the command `ng build --configuration=XXX`.
253
254
This command has no effect if the option `--no-build` is active.
@@ -280,7 +281,7 @@ Specifies the Angular architect target to use for prerendering instead of buildT
280
281
#### --no-build <aname="no-build"></a>
281
282
282
283
-**optional**
283
-
- Default: `false` (string)
284
+
- Default: `false` (boolean)
284
285
- Example:
285
286
-`ng deploy` – Angular project is build in production mode before the deployment
286
287
-`ng deploy --no-build` – Angular project is NOT build
@@ -327,7 +328,7 @@ Some additional text is always added to the message, if the command runs on Trav
327
328
The name of the branch you'll be pushing to.
328
329
The default uses GitHub's `gh-pages` branch,
329
330
but this can be configured to push to any branch on any remote.
330
-
You have to change this to `master` if you are pushing to a GitHub organization page (instead of a GitHub user page).
331
+
You may need to change this to `main` (or `master` for older repositories) if you are pushing to a GitHub organization page (instead of a GitHub user page).
331
332
332
333
#### --name & --email <aname="name"></a>
333
334
@@ -477,7 +478,7 @@ Now you can just run `ng deploy` without all the options in the command line!
477
478
478
479
## 🌍 Environments <aname="environments"></a>
479
480
480
-
We have seen `angular-cli-ghpages` running on various environments, like Travis CI, CircleCi or GitHub Actions.
481
+
We have seen `angular-cli-ghpages` running on various environments, like Travis CI, CircleCI or GitHub Actions.
481
482
Please share your knowledge by writing an article about how to set up the deployment.
0 commit comments