Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
Add rustdocs index
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian McKenzie committed Nov 10, 2022
1 parent 1500fdc commit ba02065
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: documentation
- name: Write index.html
run: echo '<meta http-equiv="refresh" content="0; url=/rome/index.html">' >target/doc/index.html
- name: Write _redirects
run: echo '/ /rome/index.html' >target/doc/_redirects
- name: Deploy documentation
run: |
netlify deploy --dir=./target/doc --prod --site rustdocs-rometools --auth ${{ secrets.NETLIFY_AUTH_TOKEN }}
Expand Down

0 comments on commit ba02065

Please sign in to comment.