We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3414c4b commit 5226406Copy full SHA for 5226406
1 file changed
.github/workflows/ci.yml
@@ -36,7 +36,7 @@ jobs:
36
mkdir -p temp-docs
37
cp -R target/site/apidocs/* temp-docs/
38
39
- - name: Create redirect index.html
+ - name: Create redirect root index.html
40
run: |
41
echo '<!DOCTYPE html>
42
<html lang="en">
@@ -47,6 +47,17 @@ jobs:
47
<body>
48
<p>If you are not redirected automatically, follow this <a href="index.html">link</a>.</p>
49
</body>
50
+ </html>' > temp-docs/.nojekyll
51
+ cp temp-docs/index.html temp-docs/root.html
52
+ echo '<!DOCTYPE html>
53
+ <html lang="en">
54
+ <head>
55
+ <meta http-equiv="refresh" content="0; url=root.html">
56
+ <title>Redirecting…</title>
57
+ </head>
58
+ <body>
59
+ <p>If you are not redirected automatically, follow this <a href="root.html">link</a>.</p>
60
+ </body>
61
</html>' > temp-docs/index.html
62
63
- name: Deploy to GitHub Pages
0 commit comments