angular-cli-ghpages icon indicating copy to clipboard operation
angular-cli-ghpages copied to clipboard

Deployment with Scully.io?

Open fireflysemantics opened this issue 4 years ago • 4 comments

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?

fireflysemantics avatar Sep 25 '20 13:09 fireflysemantics

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

d-koppenhagen avatar Sep 26 '20 01:09 d-koppenhagen

Would be awesome if there was a ng deploy --scully option to deploy the static folder.

fireflysemantics avatar Sep 26 '20 19:09 fireflysemantics

I think if there should be an option, it should be configurable, so one can choose the folder to deploy

d-koppenhagen avatar Sep 27 '20 04:09 d-koppenhagen

I will re-introduce the --dir option again. 🙂👍 This is very much related to https://github.com/angular-schule/angular-cli-ghpages/issues/114

JohannesHoppe avatar Sep 27 '20 06:09 JohannesHoppe

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! 👍

JohannesHoppe avatar Jan 26 '24 15:01 JohannesHoppe