From aafd5519f43896a6fd57a3fc4fba7e9c63400f5e Mon Sep 17 00:00:00 2001 From: fanyang1988 Date: Mon, 2 Aug 2021 15:43:35 +0800 Subject: [PATCH] add doc build params --- .github/workflows/github_pages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github_pages.yml b/.github/workflows/github_pages.yml index c3c95ae..76faa5a 100644 --- a/.github/workflows/github_pages.yml +++ b/.github/workflows/github_pages.yml @@ -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 \ No newline at end of file + publish_dir: ./book \ No newline at end of file