Skip to content

Commit

Permalink
ci(docs): Add index.html redirecting to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-d-zhang authored and sid-maddy committed Aug 3, 2024
1 parent 32a48d5 commit 3612d33
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/rust-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ jobs:
- name: "Remove '.lock' file"
run: rm ./target/doc/.lock

# `cargo doc` builds the docs without a top level `index.html`, so add
# a barebones one to redirect to the generated one.
- name: "Add redirect index.html"
run: echo '<meta http-equiv="refresh" content="0; url=dragonfly_client_rs">' > target/doc/index.html

- name: "Upload artifact"
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
with:
Expand Down

0 comments on commit 3612d33

Please sign in to comment.