ci: add index.html.

Currently this is just a redirect, but we could build for different versions and
add a menu.
This commit is contained in:
John Maximilian
2023-03-08 11:41:58 +00:00
parent ecc1345338
commit 357995a15a
2 changed files with 9 additions and 2 deletions

View File

@ -31,6 +31,7 @@ jobs:
- name: build docs
run: |
cargo doc --no-deps
cp .github/static-files/index.html target/doc/
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
@ -43,8 +44,6 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Deploy to GitHub Pages