Repository navigation
refactor(@angular/cli): removed the github pages deploy command - #4385
Conversation
| # | ||
|
|
||
| ng_opts='b build completion doc e2e g generate get github-pages:deploy gh-pages:deploy h help i init install lint make-this-awesome new s serve server set t test v version' | ||
| ng_opts='b build completion doc e2e g generate get h help i init install lint make-this-awesome new s serve server set t test v version' |
There was a problem hiding this comment.
Could you undo the changes to completion.sh? We have a change coming to it and this won't be needed, and I'd like to commit both without having to rebase one of you ;)
BREAKING CHANGE: This 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 This functionality is likely to return in the form of an addon/plugin in the future
66b59bb to
0f83110
Compare
|
nit addressed |
|
LGTM. |
|
Thanks for mentioning us. I expect some more traffic now! 😄 |
|
@JohannesHoppe I always thought your command was very well designed so you deserve it 👍 |
…lar#4385) BREAKING CHANGE: This 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 This functionality is likely to return in the form of an addon/plugin in the future
|
for anyone who needs more explicit instructions
|
|
Don't forget to copy the file |
|
@petersgiles Could you please verify the the If this is really the case, please submit an issue. |
|
@JohannesHoppe yep that's the way it happened for me. I tried installing macOS Sierra node: 6.9.5 |
|
@petersgiles I will take a look: angular-schule/angular-cli-ghpages#5 |
|
It seems @petersgiles 's problem that ngh command is not incleded in your path because node install packages in node_moudules/.bin when local installing. Please tell me how it cause to address, if there are someone feel not uncomfortable.I'll try to downgrade node version.Then , I move to angular-buch/angular-cli-ghpages repository for this ploblem is not angular-cli. |
|
Why it was removed from ng-cli? It was working good here, but now this external package is broken |
|
@tkow - please see |
|
@gkucmierz You can always deploy your |
|
@gkucmierz there were many reported issues with this command, so rather than ship the CLI with the issues it was decided to remove it, especially with some viable community alternatives. |
|
An alternative is the gh-pages package, I use it for ages and it works fine: then, in your package.json: (don't forget to replace |
|
Unfortionally this does not work out of the box on Travis-CI. That was the main reason to start |
|
@petersgiles
thing that work for me was |
|
@aakash14goplani Can you please take your current issue over the https://github.com/angular-buch/angular-cli-ghpages repo? Thanks! And good luck getting your app deployed. |
|
Hello, friends. In Angular CLI 8.3.0-next.0. the builders where enhanced which gives us the command: This means that the old "github pages deploy command" also returns to the Angular CLI: ng update @angular/cli@8.3.0-next.1 @angular/core@8.2.1
ng add angular-cli-ghpages
ng deployMore at: Wishing you a wonderful day! 😃 |
|
@JohannesHoppe that's pretty nifty! cc @mgechev |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |

BREAKING CHANGE: This 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
This functionality is likely to return in the form of an addon/plugin in the future