Skip to content

Commit

Permalink
switch to peaceiris/mdbook github action
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis authored Oct 15, 2023
1 parent 4a6b237 commit 7b3fcfd
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ jobs:
- uses: actions/checkout@v2
- name: Install mdbook-mermaid
run: cargo install mdbook-mermaid
- uses: XAMPPRocky/[email protected]
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
mdbook-version: '0.4.35'
- run: mdbook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book

0 comments on commit 7b3fcfd

Please sign in to comment.