Skip to content

gh-pages deployement with diffetent repo and project name #1362

@dvh91

Description

@dvh91

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P5The team acknowledges the request but does not plan to address it, it remains open for discussioneffort2: medium (days)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions