Split docs preview build and deploy workflows
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- github-actions, python
- Lĩnh vực
- ci-cd, devops, documentation
Hướng nghiên cứu
Trước tiên, hãy đọc #622 và .github/workflows/docs-preview.yml, sau đó xác nhận deploy workflow khả dụng trên main. Đưa .github/workflows/docs-preview-deploy.yml trở lại, giữ build/check và tải artifact lên trong preview workflow. Hoàn thành khi một PR từ cùng repository cập nhật cả hai preview comment của MkDocs và Fern, trong khi các PR từ fork chỉ build và check.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Priority Level
Medium
Task Summary
Split docs preview into separate build/check and deploy workflows once the Fern migration PR lands, so PRs can validate docs artifacts without exposing deployment secrets to the PR workflow.
Technical Details & Implementation Plan
- Move hosted preview publishing back out of
.github/workflows/docs-preview.ymlinto aworkflow_rundeploy workflow after the deploy workflow exists onmain. - Keep
docs-preview.ymlresponsible for checkout, docs deps, source-only notebook conversion fromdocs/notebook_source/*.py, MkDocs build, andmake check-fern-docs. - Upload
site/,fern/, and preview metadata as an artifact. - In the deploy workflow, download the artifact for successful same-repo PR runs, run Fern preview with
DOCS_FERN_TOKEN, deploy MkDocs to Cloudflare, and update the PR comment. - Preserve fork behavior: build and check only, no hosted preview.
Investigation / Context
During #622, the split was implemented but rolled back because workflow_run workflows only execute from the default branch. Since the new deploy workflow did not exist on main, the hosted preview did not update on the same PR. #622 now keeps deploy inline so its preview can update.
Agent Plan / Findings
Follow-up after #622 merges:
- Reintroduce
.github/workflows/docs-preview-deploy.yml. - Remove deploy/comment steps from
.github/workflows/docs-preview.yml. - Verify a subsequent PR updates both MkDocs and Fern preview comments.
- Consider making Fern preview failure non-blocking or clearly reported, matching current inline behavior.
Dependencies
Depends on #622 merging, or another bootstrap PR that lands the deploy workflow on main first.
- Ngôn ngữ chính
- Python
- Star
- 2.3k
- Fork
- 211
- Merge trung bình
- 3 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 45
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NVIDIA-NeMo/DataDesigner
-
task
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NVIDIA-NeMo/DataDesigner#760 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Harden Slurm inference routing, backpressure, and failoverCó thể đã có người làm @nabinchha đã nhận 1 ngày trước. Đang mởtask
NVIDIA-NeMo/DataDesigner#966 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement triaged
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 40/100
NVIDIA-NeMo/DataDesigner#956 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
task
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 42/100
NVIDIA-NeMo/DataDesigner#947 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
NVIDIA-NeMo/DataDesigner#946 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của NVIDIA-NeMo/DataDesigner
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
letsencrypt/cp-cps#353 ·
-
Marble Madness II is missingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
PedestrianDynamics/pyFDS-Evac#394 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
DOI-USGS/pywatershed#421 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
python-pillow/Pillow#10087 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày