We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a69c441 commit cd36c98Copy full SHA for cd36c98
.github/workflows/doc.yml
@@ -0,0 +1,30 @@
1
+name: Documentation
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
8
+jobs:
9
+ release:
10
+ name: Deploy Documentation
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - name: Checkout Repository
15
+ uses: actions/checkout@v1
16
17
+ - name: Setup Rust
18
+ run: |
19
+ rustup update nightly --no-self-update
20
+ rustup default nightly
21
22
+ - name: Build Documentation
23
+ run: cargo doc --no-deps
24
25
+ - name: Deploy Documentation
26
+ uses: peaceiris/actions-gh-pages@v3
27
+ with:
28
+ deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
29
+ publish_branch: gh-pages
30
+ publish_dir: ./target/doc
0 commit comments