Skip to content

Commit

Permalink
Use cp to create redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardy committed Dec 15, 2020
1 parent d4b180d commit 34423a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions utils/redirect.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<meta http-equiv="refresh" content="0; URL=rand/index.html"/>

0 comments on commit 34423a6

Please sign in to comment.