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:
8
.github/static-files/index.html
vendored
Normal file
8
.github/static-files/index.html
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Refresh" content="0; url='magick_rust/index.html'" />
|
||||
</head>
|
||||
<body>
|
||||
<p>Please <a href="magick_rust/index.html">click here</a> if you are not automatically redirected.</p>
|
||||
</body>
|
||||
</html>
|
||||
3
.github/workflows/docs.yaml
vendored
3
.github/workflows/docs.yaml
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user