From e7e9d90ea55cee7499b4e76af4bcb04746186ad1 Mon Sep 17 00:00:00 2001 From: felipeangelimvieira Date: Tue, 21 Oct 2025 19:10:39 -0300 Subject: [PATCH] Update workflow --- .github/workflows/docs.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 3a8185b..f42c5c7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -57,7 +57,7 @@ jobs: uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./book/_site + publish_dir: ./book/_book destination_dir: previews/PR${{ github.event.number }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -68,7 +68,7 @@ jobs: uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./book/_site + publish_dir: ./book/_book destination_dir: dev env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -79,7 +79,7 @@ jobs: uses: peaceiris/actions-gh-pages@v4 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./book/_site + publish_dir: ./book/_book destination_dir: ${{ github.ref_name }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -90,7 +90,7 @@ jobs: version="${GITHUB_REF#refs/tags/}" echo "Detected version: $version" mkdir -p ./latest - cp -r ./book/_site/* ./latest/ + cp -r ./book/_book/* ./latest/ - name: Publish stable release to 'latest' if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, '-')