mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-01-23 09:09:21 -05:00
added book to github actions
This commit is contained in:
parent
6a8c24ebbf
commit
00d774c553
1 changed files with 22 additions and 0 deletions
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
|
@ -29,6 +29,28 @@ jobs:
|
||||||
# cargo rdme --check
|
# cargo rdme --check
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test --all-features
|
run: cargo test --all-features
|
||||||
|
|
||||||
|
#### mdbook
|
||||||
|
- name: Install mdbook
|
||||||
|
run: |
|
||||||
|
cargo install mdbook
|
||||||
|
cargo install mdbook-cmdrun
|
||||||
|
- name: Setup Pages
|
||||||
|
id: pages
|
||||||
|
uses: actions/configure-pages@v3
|
||||||
|
- name: Build mdbook
|
||||||
|
run: |
|
||||||
|
cd docs/book
|
||||||
|
mdbook build
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-pages-artifact@v1
|
||||||
|
with:
|
||||||
|
path: .docs/book/book
|
||||||
|
- name: Deploy book to github pages
|
||||||
|
id: deployment
|
||||||
|
uses: actions/deploy-pages@v2
|
||||||
|
##### mdbook end
|
||||||
|
|
||||||
- name: Publish crate leptos-use
|
- name: Publish crate leptos-use
|
||||||
uses: katyo/publish-crates@v2
|
uses: katyo/publish-crates@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Add table
Reference in a new issue