leptos-rs / book

The home for the Leptos book, which can be found deployed at https://book.leptos.dev
MIT License
63 stars 59 forks source link

Fix: gh pages deployment w/ custom domain #31

Closed diversable closed 7 months ago

diversable commented 7 months ago

I've re-written the deploy script to use the newer method of deploying to Github Pages (via a gh action directly, instead of from a 'gh-pages' git branch).

I've tested the gh pages deployment with a custom domain on a different repo; I updated the book and the custom domain still works - so we should be good from here on out with this new script.

This fix requires you to go to the book's github repo, then click "Settings" > "Pages" and set the "Source" to 'Github Actions' (instead of 'Deploy from a branch').

This PR should resolve https://github.com/leptos-rs/book/issues/9

gbj commented 7 months ago

Thank you very much!