Skip to content

Commit 34423a6

Browse files
committed
Use cp to create redirect
1 parent d4b180d commit 34423a6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# --all builds all crates, but with default features for other crates (okay in this case)
2424
run: |
2525
cargo doc --all --features nightly,serde1,getrandom,small_rng
26-
echo '<meta http-equiv="refresh" content="0; URL=rand/index.html"/>' > target/doc/index.html
26+
cp utils/redirect.html target/doc/index.html
2727
- name: Deploy
2828
uses: peaceiris/actions-gh-pages@v3
2929
with:

utils/redirect.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<meta http-equiv="refresh" content="0; URL=rand/index.html"/>

0 commit comments

Comments
 (0)