Skip to content

Commit

Permalink
ci: update mdbook.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Dec 26, 2020
1 parent 8945fa6 commit 922655f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bindgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,6 @@ jobs:
# NOTE(emilio): Change deploy-book as well if you change this.
- name: Test book
run: |
cargo install mdbook --root mdbook-install --vers "^0.2.1" --force
./mdbook-install/bin/mdbook build book
./mdbook-install/bin/mdbook test book
curl -L https://github.com/rust-lang/mdBook/releases/download/v0.4.4/mdbook-v0.4.4-x86_64-unknown-linux-gnu.tar.gz | tar xz
./mdbook build book
./mdbook test book
6 changes: 3 additions & 3 deletions .github/workflows/deploy-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:

- name: Test book
run: |
cargo install mdbook --root mdbook-install --vers "^0.2.1" --force
./mdbook-install/bin/mdbook build book
./mdbook-install/bin/mdbook test book
curl -L https://github.com/rust-lang/mdBook/releases/download/v0.4.4/mdbook-v0.4.4-x86_64-unknown-linux-gnu.tar.gz | tar xz
./mdbook build book
./mdbook test book
- name: Deploy book
uses: JamesIves/github-pages-deploy-action@3.7.1
Expand Down
1 change: 1 addition & 0 deletions book/book.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[book]
title = "The `bindgen` User Guide"
author = "The Servo project developers"
description = "`bindgen` automatically generates Rust FFI bindings to C and C++ libraries."

0 comments on commit 922655f

Please sign in to comment.