File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 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 }}
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 }}
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 }}
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, '-')
You can’t perform that action at this time.
0 commit comments