Skip to content

Commit e7e9d90

Browse files
Update workflow
1 parent f7201f7 commit e7e9d90

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
uses: peaceiris/actions-gh-pages@v4
5858
with:
5959
github_token: ${{ secrets.GITHUB_TOKEN }}
60-
publish_dir: ./book/_site
60+
publish_dir: ./book/_book
6161
destination_dir: previews/PR${{ github.event.number }}
6262
env:
6363
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -68,7 +68,7 @@ jobs:
6868
uses: peaceiris/actions-gh-pages@v4
6969
with:
7070
github_token: ${{ secrets.GITHUB_TOKEN }}
71-
publish_dir: ./book/_site
71+
publish_dir: ./book/_book
7272
destination_dir: dev
7373
env:
7474
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -79,7 +79,7 @@ jobs:
7979
uses: peaceiris/actions-gh-pages@v4
8080
with:
8181
github_token: ${{ secrets.GITHUB_TOKEN }}
82-
publish_dir: ./book/_site
82+
publish_dir: ./book/_book
8383
destination_dir: ${{ github.ref_name }}
8484
env:
8585
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -90,7 +90,7 @@ jobs:
9090
version="${GITHUB_REF#refs/tags/}"
9191
echo "Detected version: $version"
9292
mkdir -p ./latest
93-
cp -r ./book/_site/* ./latest/
93+
cp -r ./book/_book/* ./latest/
9494
9595
- name: Publish stable release to 'latest'
9696
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, '-')

0 commit comments

Comments
 (0)