diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 63e0e16..94c5e62 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -23,10 +23,11 @@ jobs: run: cargo install mdbook - name: Build book - run: mdbook build docs + working-directory: ./docs + run: mdbook build - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: - github_token: ${{ secrets.GH_TOKEN }} - publish_dir: docs/book \ No newline at end of file + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: docs/book