Angular-cli: Where is the command "ng github-pages:deploy"?

Created on 13 Feb 2017  路  5Comments  路  Source: angular/angular-cli

How can I publish the github page?

Most helpful comment

@delasteve Thanks a lot. I'll find an another way! But I still think that was a very convenient command.

All 5 comments

Please provide us with the following information:

OS?

Linux (Ubuntu 16.04LTS).

Versions.

@angular/cli: 1.0.0-beta.31
node: 7.5.0
os: linux x64
@angular/common: 2.4.7
@angular/compiler: 2.4.7
@angular/core: 2.4.7
@angular/forms: 2.4.7
@angular/http: 2.4.7
@angular/platform-browser: 2.4.7
@angular/platform-browser-dynamic: 2.4.7
@angular/router: 3.4.7
@angular/cli: 1.0.0-beta.31
@angular/compiler-cli: 2.4.7
@angular/flex-layout: 2.0.0-beta.5
@angular/material: 2.0.0-beta.1

Repro steps.

Run the command on the CLI: ng github-pages:deploy

The log given by the failure.

The specified command github-pages:deploy is invalid. For available options, see ng help.

Mention any other details that might be useful.


Thanks! We'll be in touch soon.

It was removed in beta.31

https://github.com/angular/angular-cli/blob/master/CHANGELOG.md#code-refactoring

@angular/cli: The deploy command is being removed from the core of the CLI. There are several options for deploying CLI-based applications outside the scope of this project. One of which being https://github.com/angular-buch/angular-cli-ghpages

@delasteve Thanks a lot. I'll find an another way! But I still think that was a very convenient command.

Am facing the same issue with ng:github-pages:deploy
$ ng github-pages:deploy The specified command github-pages:deploy is invalid. For available options, seeng help.

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings