ci: automate nested index.html fix

This commit is contained in:
rzmk 2023-09-19 00:21:15 -04:00
parent 4ef3cf0da2
commit bc6c7ca4ba
No known key found for this signature in database

View file

@ -20,6 +20,9 @@ jobs:
run: | run: |
cd ladderz cd ladderz
cargo doc cargo doc
rm -rf ./docs
echo '<meta http-equiv="refresh" content="0; url=https://rzmk.github.io/ladderz/ladderz/index.html" />' > ./target/doc/index.html
cp -r ./target/doc ./docs
cd .. cd ..
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages