patriciogonzalezvivo / thebookofshaders

Step-by-step guide through the abstract and complex universe of Fragment Shaders.
http://TheBookOfShaders.com
Other
5.96k stars 677 forks source link

Create a github action to build and release the book #378

Closed sroucheray closed 1 year ago

sroucheray commented 2 years ago

HI @patriciogonzalezvivo,

Thanks for your great work. In order for your users to get EPUB / PDF and TEX versions of your book without the need to clone the repo, I created a github action that do it for them.

When you'll push a tag version (e.g. v1.0.0, for example), the three book formats will be built and pushed to release. You can see the consequence on my forked repo.

The release artifacts are there https://github.com/sroucheray/thebookofshaders/releases The action that built it is here https://github.com/sroucheray/thebookofshaders/actions/runs/2840310688

Hope you'll find it useful.

Cheers,

Stephane

deevus commented 1 year ago

This is awesome. Looking at the book on my Kindle as I write this. Any chance @patriciogonzalezvivo can approve and merge this?

sroucheray commented 1 year ago

Thanks 👍