Skip to content

Commit

Permalink
Merge pull request #228 from rust-lang/nikomatsakis-fix-ci
Browse files Browse the repository at this point in the history
switch to peaceiris/mdbook github action
  • Loading branch information
nikomatsakis authored Oct 15, 2023
2 parents 4a6b237 + 7b3fcfd commit 74d5cfb
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 74d5cfb

Please sign in to comment.