-
Notifications
You must be signed in to change notification settings - Fork 100
FAQ
If your message is always: 'Unspecified error (run without silent option for detail)',
then please refer to the --no-silent option.
Go to you repository settings, scroll down to the GitHub Pages section:

That's by design, the command overrides everything. If it wouldn't do that, all the hashed bundles would stay, too!
Please check the --cname option which adds the file for you.
"If your site is a User or Organization Page that has a repository named
<username>.github.ioor<orgname>.github.io, you cannot publish your site's source files from different locations. User and Organization Pages that have this type of repository name are only published from themasterbranch." - GitHub
All this means is that you have to keep your published files in the master branch.
Create a new branch for your source files, source for example, and only work from within that branch.
When you're ready to publish your website specify the master branch by using --branch=master.
I get the following error: An unhandled exception occurred: Configuration 'test' is not set in the workspace.
Starting with version 1 the option --configuration was renamed to --build-target.
BEFORE:
ng deploy --configuration=test
NOW:
ng deploy --build-target=test
Don't worry, this is normal behavior on unix systems if you have a password on your SSH key. angular-cli-ghpages does multiple git operations, which can cause multiple SSH prompts. You can avoid these prompts by configuring a SSH agent.