From e30ceb75d951197018d9717ebef16d0d7e044849 Mon Sep 17 00:00:00 2001 From: donpat1to Date: Wed, 1 Oct 2025 19:49:48 +0200 Subject: [PATCH] added cargo doc push --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cd33ba8..b897ade 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -189,6 +189,16 @@ jobs: path: | ${{ needs.detect-project.outputs.project-dir }}/target/${{ matrix.target }}/release/${{ needs.detect-project.outputs.project-name }}${{ matrix.os == 'windows' && '.exe' || '' }} + - name: Build documentation + run: cargo doc --no-deps + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./target/doc + publish_branch: gh-pages + docker-build: name: Build and Push Docker Image needs: [detect-project, build, set-tag]