-
Notifications
You must be signed in to change notification settings - Fork 99
docs: we are missing a full description of --buildTarget #123
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
Comments
Looks like the issue was already fixed. |
Can you point to how this was resolved @JohannesHoppe? I'm seeing the same issue still and even seeing it when |
@lukad03 Could you please provide the exact executed command and your |
@JohannesHoppe Sure! https://github.com/XDgov/ML-Bias-Website/blob/lk-staging/angular.json I actually got the script to work by specifying |
@lukad03 I agree, everybody is confused by this. See angular/angularfire#2281 (comment) 😇 Could you do me (and the project) a big favour and figure out which command does work and which does not?
Bonus points: A PR with an updated README.md 👍 |
This is now documented in the README. |
Facing the following issue when trying to use "ng deploy":
❌ An error occurred when trying to deploy:
Invalid target string: "github"
Firstly, you can figure out the angular.json from my project: https://github.com/alvachien/knowledgebuilder/blob/master/angular.json
The configuration 'github' already defined, and "ng build -c github" works as expected.
The angular.json also including the options defined "angular-cli-ghpages".
Secondly, no matter run "ng deploy --configuration=github" or "ng deploy --build-target=github" results in same issue.
Could you give me a hint to make it work?
Now I using a workaround by a own NPM script: "deploy-github": "ng build -c github && git push origin :gh-pages && git subtree push --prefix dist origin gh-pages"
The text was updated successfully, but these errors were encountered: