angular-cli-ghpages
angular-cli-ghpages copied to clipboard
Deployment with Scully.io?
Hi,
This might be an easy one. How do we deploy the static
scully.io folder instead of the default?
Also asked the question here: https://stackoverflow.com/questions/64065091/deploy-scully-static-folder-with-angular-cli-ghpages
Scully generates the project to project/dist/static
.
How do we deploy that instead of project/dist/project-name
with angular-cli-ghpages?
Hey, if you want to deploy your scully static site on github pages, the easiest way is to use this Github action:
https://github.com/marketplace/actions/scully-publish
Here is an example of how to use it:
https://github.com/d-koppenhagen/d-koppenhagen.de/blob/master/.github/workflows/nodejs.yml#L21-L25
Would be awesome if there was a ng deploy --scully
option to deploy the static folder.
I think if there should be an option, it should be configurable, so one can choose the folder to deploy
I will re-introduce the --dir
option again. 🙂👍
This is very much related to
https://github.com/angular-schule/angular-cli-ghpages/issues/114
I'm not sure if Scully is still a thing today. But I added a --dir
option in [email protected]
so that you can change the directory to any path you want. Please try out this version and give me feedback.
See https://github.com/angular-schule/angular-cli-ghpages/pull/179
Please comment here if this doesn't match your expectations, so that I can reopen this issue! 👍