Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 23a3b25

Browse files
committed
Test docs
1 parent 6179ffe commit 23a3b25

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.github/workflows/doc.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build & Deploy
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
9+
10+
jobs:
11+
build_and_deploy:
12+
runs-on: windows-latest
13+
14+
steps:
15+
- uses: actions/checkout@v2
16+
with:
17+
submodules: recursive
18+
19+
- name: Setup Toolchain
20+
uses: actions-rs/toolchain@v1
21+
with:
22+
toolchain: stable
23+
target: x86_64-pc-windows-msvc
24+
25+
- name: Build
26+
uses: actions-rs/cargo@v1
27+
with:
28+
command: build
29+
args: --verbose
30+
31+
- name: Generate docs
32+
uses: actions-rs/cargo@v1
33+
with:
34+
command: doc
35+
args: --verbose
36+
37+
- name: Deploy Docs
38+
uses: peaceiris/actions-gh-pages@v3
39+
with:
40+
github_token: ${{ secrets.GITHUB_TOKEN }}
41+
publish_dir: ./target/doc

0 commit comments

Comments
 (0)