-
Notifications
You must be signed in to change notification settings - Fork 6
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
Ability to render documentation for pull-requests #327
Comments
Sounds great! We could even combine it with an automated comment on the PR that takes you to the dev version of the docs in your PR |
Also, we should delete those PR build after the PR has been merged. I probably, another step should be added when pushing to main. Would it be any issue of having multiple PRs writing to |
this seems useful: https://github.com/daiyi/gh-pages-pr-previews |
One way to alleviate this might be to only deploy when some directories ( |
It's hard to tell whether only it should run with changes on those folders or not... I'm thinking about dependency bumps, I am also thinking about API changes, ... Not easy to tell when to publish or not. It should be up to each library to decide honestly. We should just provide the feature with this action to publish them.
And I like this approach as well. It is similar to what @jorgepiloto proposes. |
The issue happens when multiple worflows try to push to the same gh-pages branch at the same time. This could happen, but there is no way around it. |
I just took a look to the action that @germa89 shared. It is quite outdated. I thought about cloning it but no license so far. We will need to implement it on our side. It should not be a difficult task. The logic is similar to our dev and stable deployment actions. |
Agreed - we should just implement the mechanism to clean it up after merging - I think that might be the hardest part (making it robust). |
It's on Github's roadmap as a feature https://github.com/orgs/community/discussions/7730#discussioncomment-7603270, but no delivery date yet |
💡 Idea
When dependabot opens a pull-request, even if the
doc-build
job is passing, there is no way to visually check if documentations renders as expected unless you manually download thedocumentation-html
artifacts.Thus, I was thinking it may be interesting to add a new sub-directory inside the
gh-pages/version/dev/pr/{id}
.The action should be smart enough to:
The text was updated successfully, but these errors were encountered: