Skip to content

Commit 792ebc9

Browse files
committed
run docs after rust
1 parent 5be2985 commit 792ebc9

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/jekyll-gh-pages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
push:
55
branches: ["develop"]
66
workflow_dispatch:
7+
workflow_run:
8+
workflows: ['Rust build']
9+
types: [completed]
710

811
permissions:
912
contents: read

.github/workflows/rust.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,8 @@ jobs:
4141
4242
- name: Build
4343
run: ETHERCAT_PATH=$(pwd)/ethercat-hg RUST_BACKTRACE=full cargo build --release
44+
45+
- name: Build Docs
46+
run: ETHERCAT_PATH=$(pwd)/ethercat-hg RUSTDOCFLAGS="--enable-index-page -Zunstable-options" cargo +nightly doc --no-deps --target-dir docs/api --workspace --lib
47+
48+

0 commit comments

Comments
 (0)