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: switch API docs to modern GH Pages action #2194

Merged
merged 1 commit into from
Sep 8, 2024
Merged

Conversation

vilgotf
Copy link
Member

@vilgotf vilgotf commented Apr 10, 2023

Switch the GH Pages API documentation workflow from deploying from a commit to deploying from an artifact.

Twilight currently has an extremely large gh-pages branch with all snapshots of our rustdoc rendered documentation for all crates as commits. Due to the nature of how Git stores commits, this ballons the branch's size (>200 MB!) and subsequently the whole repository's size. GitHub has since last year offered publishing to Pages from an uploaded artifact as an alternative to publishing from a branch which avoids storing the contents in Git.

Additionally, this renames the API documentation environment from "github-pages" to "api-documentation" which should make it more discoverable to new users.

@github-actions github-actions bot added the t-ci Anything to do with CI. label Apr 10, 2023
@vilgotf
Copy link
Member Author

vilgotf commented Apr 23, 2023

I want to form consensus whether we should continue using GH Pages before merging this, see last paragraph of #2195

@Erk- Erk- merged commit 0dbb76a into main Sep 8, 2024
9 checks passed
@Erk- Erk- deleted the vilgotf/actions/api-pages branch September 8, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t-ci Anything to do with CI. w-do-not-merge PR is blocked or deferred
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants