File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -910,7 +910,7 @@ jobs:
910
910
echo "mithril.network" > ./github-pages/CNAME
911
911
echo '<!DOCTYPE html><html><head><meta http-equiv="Refresh" content="0; URL=https://mithril.network/doc"></head></html>' > ./github-pages/index.html
912
912
# Remove the index.html from the url to avoid a display issue that duplicates the content of the page
913
- sed -i '1s/^/<script type="text/javascript"> if (window.location.href.endsWith("/index.html")) { end_of_clean_url = window.location.href.lastIndexOf("/"); window.location.href = window.location.href.substring(0, end_of_clean_url); } </script>\n/' ./github-pages/doc/index.html
913
+ sed -i '1s/^/<script type="text\ /javascript"> if (window.location.href.endsWith("\ /index.html")) { end_of_clean_url = window.location.href.lastIndexOf("\ /"); window.location.href = window.location.href.substring(0, end_of_clean_url); } <\ /script>\n/' ./github-pages/doc/index.html
914
914
915
915
- name : Mithril / Publish GitHub Pages
916
916
uses : peaceiris/actions-gh-pages@v3
You can’t perform that action at this time.
0 commit comments