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
+15-5
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,9 @@ But by design, the command is limited to the `gh-pages` branch of the same repos
18
18
In contrast to this, the [Angular2Buch/angular-cli-ghpages](https://github.com/Angular2Buch/angular-cli-ghpages) addon is able to push to any branch on any repository. It's build on top of [tschaub/gh-pages](https://github.com/tschaub/gh-pages).
19
19
__This addon works great on [Travis-CI](https://travis-ci.org/).__ No git credentials must be set up in before. Specific environment variables of Travis-CI are evaluated, too. You will like it!
20
20
21
+
angular-cli-ghpages was successfully tested against `angular-cli: 1.0.0-beta.11-webpack.2`.
22
+
23
+
21
24
## Installation & Setup
22
25
23
26
This addon has the following prerequisites:
@@ -90,8 +93,8 @@ Suppress logging. With silent `true` log messages are suppressed and error messa
90
93
* optional
91
94
* default: `dist`
92
95
93
-
Directory for all sources, relative to the project-root.
94
-
Most probably no change is required here, usefull together with --skip-build.
96
+
Directory for all published sources, relative to the project-root.
97
+
Most probably no change is required here, useful together with --skip-build.
95
98
This option can be used to deploy completely different folders, which are note related at all to angular.
96
99
97
100
@@ -100,26 +103,33 @@ This option can be used to deploy completely different folders, which are note r
100
103
* default: `production`
101
104
102
105
The Angular environment to create a build for.
106
+
The build artifacts are always placed into the path `dist/`.
107
+
The option `--dir` has no effect on the output path.
103
108
104
109
105
110
#### <aid="skip-build">--skip-build</a>
106
111
* optional
107
112
* default: `false` (boolean)
108
113
109
-
Skip building the project before deploying, usefull together with --dir.
114
+
Skip building the project before deploying, useful together with --dir.
115
+
110
116
111
117
118
+
#### <aid="dotfiles">--dotfiles</a>
119
+
* optional
120
+
* default: `true` (boolean)
121
+
122
+
Includes dotfiles by default. When set to `false` files starting with `.` are ignored.
112
123
113
124
114
125
115
126
## Extra
116
127
117
-
For your convenience, the addon will recognize the [environment variable](https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings)`GH_TOKEN` and will replace this pattern in the `--repo` string. Please __do NOT disable the silent mode__ if you have credentials in the repository URL! Read more about [Github tokens here](https://help.github.com/articles/creating-an-access-token-for-command-line-use/).
128
+
For your convenience, the addon will recognize the [environment variable](https://docs.travis-ci.com/user/environment-variables/#Defining-Variables-in-Repository-Settings)`GH_TOKEN` and will replace this pattern in the `--repo` string. Please __do NOT disable the silent mode__ if you have any credentials in the repository URL! Read more about [Github tokens here](https://help.github.com/articles/creating-an-access-token-for-command-line-use/).
118
129
119
130
In example, the following command runs [on our Travis-CI](https://travis-ci.org/Angular2Buch/book-monkey2):
0 commit comments