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