Skip to content

Commit

Permalink
fix working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
makspll committed Dec 3, 2024
1 parent ab588bf commit a0e47ab
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/mdbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
build:
name: Build Book - mdbook
runs-on: ubuntu-latest
env:
working-directory: docs
steps:

- name: Checkout repository
Expand All @@ -24,16 +22,17 @@ jobs:
with:
toolchain: stable
override: true

- name: Rust Cache
uses: Swatinem/[email protected]
- name: Install mdBook
run: cargo install mdbook

- name: Build the book
run: mdbook build
run: cd docs && mdbook build

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

0 comments on commit a0e47ab

Please sign in to comment.