From 9d5a3dd406d66a3dae3045b127ba096d81bdf3a0 Mon Sep 17 00:00:00 2001 From: forkless Date: Mon, 1 Jun 2026 14:14:43 +0200 Subject: [PATCH] Add GitHub Pages doc deployment --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 02b5f08..0860627 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,6 +17,13 @@ jobs: - uses: dtolnay/rust-toolchain@stable - run: cargo check --workspace - run: cargo doc --no-deps --document-private-items --workspace + - name: Deploy docs to GitHub Pages + if: github.ref == 'refs/heads/master' + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: target/doc + force_orphan: true build: needs: check