-
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
gh-pages deployement with diffetent repo and project name #1362
Comments
Why you use with gh-pages php? |
I dont. |
This could be improved, yes. |
For a quick workaround, change the project name in package.json to match your github repository name. Then it will set the correct base href in index.html to load all your scripts. |
Closed via #4385. |
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. |
Mac OSX El Capitan
angular-cli: 1.0.0-beta.8
node: 4.2.4
os: darwin x64
angular cli project name: 'kmeetup'
repo name: 'kmeetups'
run:
ng github-pages:deploy --message "first kmeetup deploy"
got:
Built project successfully. Stored in "dist/".
Deployed! Visit https://dvh91.github.io/kmeetup/
as far as i can tell, the script takes the project name from angular-cli.json project.name
ad it's not necessarily the repo name.
that causes not only the url that printed in ternimal to be wrong but also the base href in index.html to be wrong which fail to load all scripts.
The text was updated successfully, but these errors were encountered: