From 4f012d558470c2f6c80acf4707a0253127136701 Mon Sep 17 00:00:00 2001 From: supernovahs Date: Wed, 12 Jun 2024 21:03:59 +0530 Subject: [PATCH] run book yml on every branch --- .github/workflows/book.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index 34d657dd..4d3157b9 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -2,9 +2,11 @@ name: book on: push: - branches: [main] + branches: + - '**' pull_request: - branches: [main] + branches: + - '**' merge_group: jobs: @@ -80,6 +82,11 @@ jobs: - name: Build docs run: cargo doc + env: + # Keep in sync with ./ci.yml:jobs.docs + RUSTDOCFLAGS: + --cfg docsrs --show-type-layout --generate-link-to-definition --enable-index-page + -Zunstable-options - name: Move docs to book folder run: |