Skip to content

Commit 16de191

Browse files
committed
cleanup, still everything wip
1 parent 27fe11e commit 16de191

File tree

5 files changed

+31
-21
lines changed

5 files changed

+31
-21
lines changed

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@ jobs:
3030
- run: chmod +x bin/angular-cli-ghpages
3131
- run: cd angular-testdrive && ../bin/angular-cli-ghpages --repo "$GITHUB_ORG/$NAME.git" --name "$GITHUB_NAME" --email "$GITHUB_EMAIL" --dir=dist/angular-testdrive --cname=angular-cli-ghpages.angular.schule
3232

33+
branches:
34+
only:
35+
- XXX-disable-build-for-now-XXX

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,14 @@
88

99
<hr>
1010

11-
Publish to any gh-pages branch on GitHub (or any other branch on any other remote).
12-
Made for angular-cli users.
13-
Made with Travis CI, CircleCi and Co. in mind.
11+
Deploy your Angular app to GitHub pages directly from the Angular CLI! 🚀
1412
Brought to you by the [angular.schule](https://angular.schule/) team!
1513

16-
## About
17-
18-
This command is similar to the old `github-pages:deploy` command of @angular/cli which was removed in [#4385](https://github.com/angular/angular-cli/pull/4385).
19-
The [angular-cli-ghpages](https://github.com/angular-schule/angular-cli-ghpages) command is able to push to any branch on any repository. It's made on top of [tschaub/gh-pages](https://github.com/tschaub/gh-pages).
20-
**This script works great on Travis CI and CircleCi.** No git credentials must be set up in before (use GH_TOKEN instead!). Specific environment variables of Travis-CI are evaluated, too. You will like it!
21-
2214
## Changelog
2315

2416
A detailed changelog is available in the [releases](https://github.com/angular-schule/angular-cli-ghpages/releases) section.
2517

26-
18+
<!--
2719
## Installation & Setup
2820
2921
This command has the following prerequisites:
@@ -223,6 +215,8 @@ Run through without making any changes. This can be very usefull, because it out
223215
224216
A CNAME file will be created enabling you to use a custom domain. [More information on Github Pages using a custom domain](https://help.github.com/articles/using-a-custom-domain-with-github-pages/).
225217
218+
-->
219+
226220
## FAQ
227221

228222
Before posting any issue, [please read the FAQ first](https://github.com/angular-schule/angular-cli-ghpages/wiki/FAQ).

collection.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"$schema": "@angular-devkit/schematics/collection-schema.json",
33
"schematics": {
44
"ng-add": {
5-
"description": "Add GitHub pages deploy schematic",
5+
"description": "Add GitHub pages deploy schematic (angular-cli-ghpages)",
66
"factory": "./ng-add#ngAdd"
77
}
88
}
9-
}
9+
}

index.js renamed to index.old.js

File renamed without changes.

package.json

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,48 @@
11
{
2-
"name": "ngx-gh",
3-
"version": "0.0.2",
4-
"description": "Deployment from the Angular CLI to GitHub pages",
2+
"name": "angular-cli-ghpages",
3+
"version": "0.6.0",
4+
"description": "Deployment from the Angular CLI to GitHub pages (or any other branch on any other remote)",
55
"main": "index.js",
66
"scripts": {
7+
"angular-cli-ghpages": "bin/angular-cli-ghpages",
8+
"ngh": "bin/angular-cli-ghpages",
79
"build": "rm -rf dist && json2ts deploy/schema.json > deploy/schema.d.ts && tsc && cp README.md builders.json collection.json package.json dist && cp deploy/schema.json dist/deploy",
810
"test": "jest"
911
},
1012
"schematics": "./collection.json",
1113
"builders": "./builders.json",
1214
"repository": {
1315
"type": "git",
14-
"url": "git+https://github.com/mgechev/ngx-gh.git"
16+
"url": "git+https://github.com/angular-schule/angular-cli-ghpages.git"
1517
},
1618
"keywords": [
1719
"angular",
1820
"cli",
1921
"angular-cli",
2022
"ghpages",
2123
"github",
24+
"github pages",
2225
"pages",
2326
"deploy",
2427
"ng deploy",
25-
"ng-deploy"
28+
"ng-deploy",
29+
"gh-pages",
30+
"ghpages",
31+
"angular-cli-ghpages",
32+
"angular-cli-github-pages"
33+
],
34+
"author": {
35+
"name": "Angular.Schule Team",
36+
"email": "[email protected]"
37+
},
38+
"contributors": [
39+
"Minko Gechev <[email protected]>"
2640
],
27-
"author": "Minko Gechev <[email protected]>",
2841
"license": "MIT",
2942
"bugs": {
30-
"url": "https://github.com/mgechev/ngx-gh.git/issues"
43+
"url": "https://github.com/angular-schule/angular-cli-ghpages/issues"
3144
},
32-
"homepage": "https://github.com/mgechev/ngx-gh#readme",
45+
"homepage": "https://github.com/angular-schule/angular-cli-ghpages/#readme",
3346
"devDependencies": {
3447
"@angular-devkit/architect": "^0.800.6",
3548
"@angular-devkit/core": "^8.0.6",
@@ -47,7 +60,7 @@
4760
"@angular-devkit/schematics": ">=8.0.0"
4861
},
4962
"dependencies": {
50-
"gh-pages": "^2.0.1"
63+
"gh-pages": "^2.1.0"
5164
},
5265
"jest": {
5366
"transform": {

0 commit comments

Comments
 (0)