Skip to content

Commit 251d5f0

Browse files
authored
Create docs.yml
1 parent ceb0d38 commit 251d5f0

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/docs.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: docs
2+
on:
3+
push:
4+
branches: [ main ]
5+
workflow_dispatch:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
- uses: dtolnay/rust-toolchain@stable
13+
- run: cargo doc --no-deps --all-features
14+
- name: Deploy to gh-pages
15+
uses: peaceiris/actions-gh-pages@v4
16+
with:
17+
publish_branch: gh-pages
18+
publish_dir: ./target/doc
19+
force_orphan: true

0 commit comments

Comments
 (0)