docs: ephemeral per-PR preview deploys for the docs site
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- github, github-actions
- Domain
- ci-cd, documentation
Research direction
The payload names no existing workflow file, so start by locating the current docs build workflow under .github/workflows and the docs source it builds. The proposal splits work into three workflows (build on pull_request, deploy via workflow_run to a gh-pages path under preview/pr-<n>/, and teardown on PR close), so reading how the current docs publish step authenticates is the first thing to do. Done means a docs PR gets a preview URL comment that updates in place, the fork-PR secret split is preserved, and closing the PR removes the preview path. Settle the security design with a maintainer before writing any workflow.
Written by the indexing model from the issue text.
Description
Problem Statement
Docs changes are reviewed as raw markdown diffs; rendering problems (broken links, mangled tables, asset paths) surface only after merge, when the docs workflow publishes. Reviewers can't see what a docs PR actually produces.
Proposed Solution
Three small workflows around the existing docs build:
- build — on PRs touching docs paths, build the site and upload the artifact;
- deploy — publish the artifact to a per-PR path (e.g.
gh-pagesunderpreview/pr-<n>/) and comment the preview URL on the PR (edit the same comment on subsequent pushes, don't stack); - teardown — on PR close, delete the preview path.
Keep the fork-PR security split: the build job runs on pull_request with no secrets; only the deploy step runs with write permissions via workflow_run.
Alternatives Considered
- Review rendered output locally — works for maintainers, invisible to drive-by contributors.
- Deploy previews to an external host (Netlify/CF Pages) — less to build, but adds a third-party dependency for a self-hosted-ethos project.
Priority
Nice to have
- Dominant language
- Java
- Stars
- 35
- Forks
- 7
- Avg merge
- 9h 23m
- Merged PRs (30d)
- 154
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from devops-thiago/ThrillhouseBot
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
devops-thiago/ThrillhouseBot#1093 ·
Maintainers usually reply within 1 day
-
documentation enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
devops-thiago/ThrillhouseBot#321 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
devops-thiago/ThrillhouseBot#46 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 58/100
devops-thiago/ThrillhouseBot#1095 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 58/100
devops-thiago/ThrillhouseBot#1094 ·
Maintainers usually reply within 1 day
All issues in devops-thiago/ThrillhouseBot
Similar issues
-
RRateLimiter acquire methods accept negative permits and raise available permits above the rate.Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 4 days
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
krahets/hello-algo#1993 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
NationalSecurityAgency/ghidra#9884 ·
Maintainers usually reply within 2 days
-
Status: Pending Review Type: Feature Request
Difficulty 1/5 Under an hour Newbie friendliness 82/100
OpenRefine/OpenRefine#8019 ·
Maintainers usually reply within 1 day
-
[TEMP] pin maven version to 3.9.xPossibly taken @petrenyi-mark claimed this today. Open
Difficulty 2/5 Under an hour Newbie friendliness 62/100