From 0760bd86580fbe00fc5ff5c66c3a9a5e72573a72 Mon Sep 17 00:00:00 2001 From: Raul Victor Trombin Date: Thu, 27 Jul 2023 17:25:54 -0300 Subject: [PATCH] github: workflows: Adjust deployment for the python docs --- .github/workflows/action.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index aa2277790..d8554ecd0 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -167,12 +167,11 @@ jobs: with: toolchain: nightly override: true - components: rust-docs - name: Build docs - run: cargo doc + run: pip install hatch && hatch run dev:build-doc - name: Deploy uses: peaceiris/actions-gh-pages@v3 if: ${{ github.ref == 'refs/heads/master' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./target/doc + publish_dir: ./docs/build/html