Skip to content

Commit 0486c26

Browse files
authored
ci: add redirect page for documentation deployment (#51)
1 parent 4e338af commit 0486c26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ jobs:
8888
RUSTDOCFLAGS: -D rustdoc::broken_intra_doc_links -D missing-docs
8989
run: |
9090
cargo doc --no-deps --all-features
91+
printf '<meta http-equiv="refresh" content="0;url=%s/index.html">' $(cargo tree | head -1 | cut -d' ' -f1) > target/doc/index.html
9192
9293
- name: Upload artifact
9394
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)