Fix logo URL replacement in README.md and adjust documentation copying step

This commit is contained in:
Palash Tyagi 2025-05-05 03:30:58 +01:00
parent 2e6c4bd6bb
commit 38baf0c648

View File

@ -50,7 +50,7 @@ jobs:
run: | run: |
# replace with EXAMPLE.COM/LOGO # replace with EXAMPLE.COM/LOGO
sed -i 's|.github/rustframe_logo.png|${{ env.LOGO_URL }}|g' README.md sed -i 's|.github/rustframe_logo.png|rustframe_logo.png|g' README.md
- name: Build documentation - name: Build documentation
run: cargo doc --no-deps --release run: cargo doc --no-deps --release
@ -111,7 +111,8 @@ jobs:
cp tarpaulin-report.json target/doc/docs/ cp tarpaulin-report.json target/doc/docs/
cp tarpaulin-badge.json target/doc/docs/ cp tarpaulin-badge.json target/doc/docs/
cp last-commit-date.json target/doc/docs/ cp last-commit-date.json target/doc/docs/
cp -r .github target/doc/docs # cp -r .github target/doc/docs
cp .github/rustframe_logo.png target/doc/docs/
echo "<meta http-equiv=\"refresh\" content=\"0; url=docs\">" > target/doc/index.html echo "<meta http-equiv=\"refresh\" content=\"0; url=docs\">" > target/doc/index.html
touch target/doc/.nojekyll touch target/doc/.nojekyll