We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2e8b8c commit cd369d0Copy full SHA for cd369d0
.github/workflows/ci.yml
@@ -909,6 +909,7 @@ jobs:
909
run: |
910
echo "mithril.network" > ./github-pages/CNAME
911
echo '<!DOCTYPE html><html><head><meta http-equiv="Refresh" content="0; URL=https://mithril.network/doc"></head></html>' > ./github-pages/index.html
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
914
915
- name: Mithril / Publish GitHub Pages
0 commit comments