We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6e712a commit 0004b6dCopy full SHA for 0004b6d
.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
+ 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
914
- name: Mithril / Publish GitHub Pages
915
uses: peaceiris/actions-gh-pages@v3
0 commit comments