Skip to content

Commit 62dbd92

Browse files
authored
Update build_and_publish_docs.yaml
1 parent 6752c82 commit 62dbd92

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build_and_publish_docs.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ jobs:
1919
uses: actions/checkout@v4
2020
- name: cargo doc
2121
run: cargo doc
22+
- name: copy to gh-pages
23+
run: cp -r ./target/doc ./gh-pages
2224
- name: Save artifacts
2325
uses: actions/upload-artifact@v4
2426
with:
2527
name: bc-rust-docs
26-
path: ./target/doc/
28+
path: ./gh-pages
2729
publish_to_gh_pages:
2830
needs: build_docs
2931
if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)