We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fc509b commit eb0e60dCopy full SHA for eb0e60d
.github/workflows/doc-rust.yml
@@ -0,0 +1,36 @@
1
+name: Docs
2
+
3
+on:
4
+ push:
5
+ branches: [ main ]
6
+ workflow_dispatch:
7
8
+permissions:
9
+ contents: read
10
+ pages: write
11
+ id-token: write
12
13
+concurrency:
14
+ group: "pages"
15
+ cancel-in-progress: false
16
17
+jobs:
18
+ build:
19
+ runs-on: ubuntu-latest
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - uses: dtolnay/rust-toolchain@stable
23
+ - name: Build docs
24
+ run: cargo doc --all-features --no-deps
25
+ - uses: actions/upload-pages-artifact@v3
26
+ with:
27
+ path: target/doc
28
+ deploy:
29
+ needs: build
30
31
+ environment:
32
+ name: github-pages
33
+ url: ${{ steps.deployment.outputs.page_url }}
34
35
+ - id: deployment
36
+ uses: actions/deploy-pages@v4
0 commit comments