Skip to content

Commit ab2e577

Browse files
committed
ci(book): document the one-time Pages enablement step
1 parent 8ebf32e commit ab2e577

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/book.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ jobs:
3535
3636
- name: Setup Pages
3737
uses: actions/configure-pages@v5
38-
with:
39-
enablement: true # 自动开启 Pages(首次运行无需手动到 Settings 里开)
38+
# 注:本仓库 Pages 已通过 `gh api -X POST repos/.../pages -f build_type=workflow` 手动启用。
39+
# Fork 后首次运行会失败,需在 Settings → Pages 把 Source 设为 "GitHub Actions",
40+
# 或对自己的 fork 重跑那条 gh api 命令。
4041

4142
- name: Build book
4243
working-directory: ./book

0 commit comments

Comments
 (0)