File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -30,22 +30,19 @@ jobs:
3030 mkdir -p temp-docs
3131 cp -R target/site/apidocs/* temp-docs/
3232
33- - name : Prepare Javadoc for GitHub Pages
33+ - name : Create redirect index.html
3434 run : |
35- mkdir -p temp-docs
36- cp -R target/site/apidocs/* temp-docs/
37- echo > temp-docs/.nojekyll
38- echo "# Javadoc site" > temp-docs/README.md
3935 echo '<!DOCTYPE html>
4036 <html lang="en">
4137 <head>
42- <meta http-equiv="refresh" content="0; url=index .html">
38+ <meta http-equiv="refresh" content="0; url=overview-summary .html">
4339 <title>Redirecting…</title>
4440 </head>
4541 <body>
46- <p>If you are not redirected automatically, follow this <a href="index .html">Javadoc </a>.</p>
42+ <p>If you are not redirected automatically, follow this <a href="overview-summary .html">link </a>.</p>
4743 </body>
4844 </html>' > temp-docs/index.html
45+ touch temp-docs/.nojekyll
4946
5047 - name : Deploy to GitHub Pages
5148 uses : peaceiris/actions-gh-pages@v3
You can’t perform that action at this time.
0 commit comments