Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Render XHTML chunked manual #877

Closed
wants to merge 1 commit into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Aug 25, 2021

The rendered XHTML chunked manual is provided as artifact.


I think this is useful for those who don't have a full doc build environment set up, but it slows down CI considerably, and it's still not possible to view the docs online. Maybe we could push to GH pages or something, and the full workflow should only be run when manually triggered?

Thoughts welcome!

The rendered XHTML chunked manual is provided as artifact.
@saundefined
Copy link
Member

Deploing preview on GH-pages (or similar) sounds great (example) 🎉

But maybe enable it only for PRs,
and for commits add action just to trigger build-docs-lang-rsync (or keep it on cron)?

@saundefined
Copy link
Member

saundefined commented Oct 28, 2021

I just tested the deployment from PR to Netlify (saundefined/doc-ru#1) and the preview build (https://1--php-doc-ru-test.netlify.app/) looks good, but the build workflow runs ~25 mins =(

@cmb69
Copy link
Member Author

cmb69 commented Oct 28, 2021

I assume the problem is that the large amount of files are uploaded one by one; would it be possible to upload an archive (tarball or zip) and to have it unpacked there?

@saundefined
Copy link
Member

Done 🎉

I haven't found a way to deploy the archive and use branching at the same time.
I wrote a small script that bypasses this limitation.

Full workflow is now ~1.5 minutes + Netlify processes the archive for another 1-1.5 minutes

@afilina
Copy link
Contributor

afilina commented Dec 23, 2022

Suggestion from PR #1608 (comment)

Or provide a dockerized build command. Then you have 1 requirement that almost any developer will have installed or can easily install.

If this is a direction that we're willing to take, I'd be happy to do it. I was actually thinking about it this week when I saw how complicated the setup is for a first-time contributor.

@cmb69
Copy link
Member Author

cmb69 commented Sep 21, 2024

If this is a direction that we're willing to take, I'd be happy to do it.

Feel free to go ahead. :)

@cmb69 cmb69 closed this Sep 21, 2024
@cmb69 cmb69 deleted the cmb/ci-render-manual branch September 21, 2024 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants