Add rustdoc output to manual site

pull/70/head
Wilfred Hughes 2021-11-21 18:55:23 +07:00
parent b5cfd08106
commit b64f7a47d7
1 changed files with 13 additions and 1 deletions

@ -13,6 +13,15 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.54.0
override: true
- uses: actions-rs/cargo@v1
with:
command: doc
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
@ -22,7 +31,10 @@ jobs:
run: mdbook build
working-directory: manual
- name: Deploy to GitHub pages🚀
- name: Add rustdoc output
run: cp -r target/doc manual/book
- name: Deploy to GitHub pages
uses: JamesIves/github-pages-deploy-action@4.1.6
with:
branch: gh-pages