Skip to content

feat: add support for Angular v11 (follow up) #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Nov 25, 2020
Merged
40 changes: 39 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,29 @@

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

**GitHub Actions** is now a first citizen alongside Travis CI and CircleCi. The token `GITHUB_TOKEN` is now supported. Learn everything you need to know in the following article.
**⚠️ BREAKING CHANGE (v1)**

Starting with version 1 the option `--configuration` was renamed to `--build-target`.

BEFORE (_does not work_):

```
ng deploy --configuration=test
```

NOW:

```
ng deploy --build-target=test
```

If you use the old syntax, you will probably receive the following error:

> An unhandled exception occurred: Configuration 'test' is not set in the workspace.

<br>

**🐙 GitHub Actions** is now a first citizen alongside Travis CI and CircleCi. The token `GITHUB_TOKEN` is now supported. Learn everything you need to know in the following article.

[![Banner](https://angular-schule.github.io/website-articles/blog/2020-01-everything-github/everything-github.png)](https://angular.schule/blog/2020-01-everything-github)

Expand Down Expand Up @@ -187,6 +209,22 @@ Most projects have a default configuration and a production configuration (commo
This is equivalent as calling the command `ng build --configuration=XXX`."
This command has no effect if the option `--no-build` is active.

**⚠️ BREAKING CHANGE (v1)**

This option was called `--configuration` in previous versions.

BEFORE (_does not work_):

```
ng deploy --configuration=test
```

NOW:

```
ng deploy --build-target=test
```

#### --no-build <a name="no-build"></a>

- **optional**
Expand Down
4 changes: 2 additions & 2 deletions src/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-cli-ghpages",
"version": "0.6.2",
"description": "Deploy your Angular app to GitHub pages directly from the Angular CLI.",
"version": "1.0.0-rc.1",
"description": "Deploy your Angular app to GitHub pages directly from the Angular CLI. (ng deploy)",
"main": "index.js",
"bin": {
"angular-cli-ghpages": "angular-cli-ghpages",
Expand Down