FOME-Tech / wiki

FOME Wiki
https://wiki.fome.tech
Creative Commons Attribution Share Alike 4.0 International
5 stars 6 forks source link

PDF is not auto-generated #68

Closed karniv00l closed 1 year ago

karniv00l commented 1 year ago
mi-hol commented 1 year ago

@karniv00l is there any thing I could help with? I did a proof-of-concept for RE see https://github.com/rusefi/rusefi_documentation/issues/1

karniv00l commented 1 year ago

@mi-hol I've updated description, hopefully is more clear now

mi-hol commented 1 year ago

never edited GH workflows before but it seems that I need to add the following "-run" actions to "steps:" section in build.js.yml

Would that be all or did I miss something?

karniv00l commented 1 year ago

It's a little bit more complicated since I believe we need to run npm run serve in a service

mi-hol commented 1 year ago

https://medium.com/geekculture/serverless-e-book-web-book-using-docusaurus-v2-github-pages-actions-and-pdf-tools-4fef54847b85 describes a more simple solution (having some caveats) copied below.

I've yet to test it and would create a PR if it works. Would that be good enough as a first solution?

`name: 'continous deployment'

on: push: branches:

jobs: generate_webbook:

...

generate_ebook: name: 'generate ebook' runs-on: ubuntu-latest steps:

karniv00l commented 1 year ago

Thanks, it's done now

mi-hol commented 1 year ago

Great to see another critical issue for V1 release to be resolved.

BTW: The caveat I saw is the Prince version specific download file name. Are you getting updates or have awareness of new releases?