-
Notifications
You must be signed in to change notification settings - Fork 12k
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
refactor(@angular/cli): removed the github pages deploy command #4385
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit, otherwise LGTM.
@@ -6,11 +6,10 @@ | |||
# or ng completion 1>> ~/.zshrc 2>>&1 | |||
# | |||
|
|||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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/[email protected] @angular/[email protected]
ng add angular-cli-ghpages
ng deploy More 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