mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Fix logo URL replacement in README.md and adjust documentation copying step
This commit is contained in:
parent
2e6c4bd6bb
commit
38baf0c648
5
.github/workflows/docs-and-testcov.yml
vendored
5
.github/workflows/docs-and-testcov.yml
vendored
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user