Skip to content

Commit 5226406

Browse files
committed
fix javadoc
1 parent 3414c4b commit 5226406

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
mkdir -p temp-docs
3737
cp -R target/site/apidocs/* temp-docs/
3838
39-
- name: Create redirect index.html
39+
- name: Create redirect root index.html
4040
run: |
4141
echo '<!DOCTYPE html>
4242
<html lang="en">
@@ -47,6 +47,17 @@ jobs:
4747
<body>
4848
<p>If you are not redirected automatically, follow this <a href="index.html">link</a>.</p>
4949
</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>
5061
</html>' > temp-docs/index.html
5162
5263
- name: Deploy to GitHub Pages

0 commit comments

Comments
 (0)