◐ Shell
clean mode source ↗

bpo-37860: Enable docs deploy previews through GitHub Actions by epicfaace · Pull Request #19025 · python/cpython

This looks good, although one downside is it creates a new directory for each and every commit pushed to a PR:

That's going to get pretty big and fast, so would need to have some way to cleanup old ones.

It would be better to use the PR number instead of commit SHA and only build PRs that change docs or docs build logic.

Also I wonder if that amount of churn on a single branch would have a performance impact on the rest of the Git repo?

Perhaps another host server would be better.