Skip to content

Commit

Permalink
Add HTML redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy committed Dec 15, 2020
1 parent 98e220c commit da3458b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/gh-pages.yml
Expand Up @@ -21,7 +21,9 @@ jobs:
env:
RUSTDOCFLAGS: --cfg doc_cfg
# --all builds all crates, but with default features for other crates (okay in this case)
run: cargo doc --all --features nightly,serde1,getrandom,small_rng
run: |
cargo doc --all --features nightly,serde1,getrandom,small_rng
echo '<meta http-equiv="refresh" content="0; URL=rand/index.html"/>' > target/doc/index.html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down

0 comments on commit da3458b

Please sign in to comment.