Merge 00befe7ee488e456dd8e2df49f85b42b449a1fa8 into 9696cd47bdfcdc494e225e6708f25ad2f130a0e0

This commit is contained in:
Palash Tyagi 2025-05-05 02:44:21 +01:00 committed by GitHub
commit 095e2a3ff7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,7 +6,7 @@ concurrency:
on: on:
push: push:
branches: [main] branches: [main, fix_docs]
# pull_request: # pull_request:
# branches: [main] # branches: [main]
workflow_dispatch: workflow_dispatch:
@ -96,15 +96,15 @@ jobs:
run: | run: |
# mkdir docs # mkdir docs
mkdir -p target/doc/docs mkdir -p target/doc/docs
cp -r target/doc/rustframe/* target/doc/docs/ mv target/doc/rustframe/* target/doc/docs/
mkdir output mkdir output
cp tarpaulin-report.html target/doc/docs/ cp tarpaulin-report.html target/doc/docs/
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/
mkdir -p target/doc/.github mkdir -p target/doc/docs/.github
cp .github/rustframe_logo.png target/doc/.github/rustframe_logo.png cp .github/rustframe_logo.png target/doc/docs/.github/rustframe_logo.png
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
- name: Upload Pages artifact - name: Upload Pages artifact