File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 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">
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
You can’t perform that action at this time.
0 commit comments