From e025d9ba80f23b9935794f3a1a7fa1e1ab931bd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Mon, 24 Nov 2025 12:09:51 +0100 Subject: [PATCH] Add trusted publishing to mdbook --- repos/rust-lang/mdBook.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/repos/rust-lang/mdBook.toml b/repos/rust-lang/mdBook.toml index 1cdfc05eb..2fab1e871 100644 --- a/repos/rust-lang/mdBook.toml +++ b/repos/rust-lang/mdBook.toml @@ -16,3 +16,17 @@ Dylan-DPC = "write" pattern = "master" ci-checks = ["Success gate"] required-approvals = 0 + +[[crates-io-publishing]] +crates = [ + "mdbook", + "mdbook-core", + "mdbook-driver", + "mdbook-html", + "mdbook-markdown", + "mdbook-preprocessor", + "mdbook-renderer", + "mdbook-summary", +] +workflow-filename = "deploy.yml" +environment = "publish"