Skip to content

Commit

Permalink
add doc build params
Browse files Browse the repository at this point in the history
  • Loading branch information
fanyang1988 committed Aug 2, 2021
1 parent b50e417 commit aafd551
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github_pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
mdbook-version: "0.4.11"
# mdbook-version: 'latest'

- run: mdbook build ./docs
- run: mdbook build ./docs -d ../book

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build
publish_dir: ./book

0 comments on commit aafd551

Please sign in to comment.