Use cp to create redirect
This commit is contained in:
parent
d4b180db8e
commit
34423a6bc8
2
.github/workflows/gh-pages.yml
vendored
2
.github/workflows/gh-pages.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
# --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
|
||||
echo '<meta http-equiv="refresh" content="0; URL=rand/index.html"/>' > target/doc/index.html
|
||||
cp utils/redirect.html target/doc/index.html
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
|
1
utils/redirect.html
Normal file
1
utils/redirect.html
Normal file
@ -0,0 +1 @@
|
||||
<meta http-equiv="refresh" content="0; URL=rand/index.html"/>
|
Loading…
x
Reference in New Issue
Block a user