Update output directory structure for documentation and coverage reports

This commit is contained in:
Palash Tyagi 2025-05-04 21:27:14 +01:00
parent 88d1d6b3ff
commit 186dffe29b

View File

@ -94,14 +94,18 @@ jobs:
- name: Copy files to output directory
run: |
# mkdir docs
mkdir -p target/doc/docs
cp -r target/doc/rustframe/* target/doc/docs/
mkdir output
cp tarpaulin-report.html target/doc/rustframe/
cp tarpaulin-report.json target/doc/rustframe/
cp tarpaulin-badge.json target/doc/rustframe/
cp last-commit-date.json target/doc/rustframe/
mkdir -p target/doc/rustframe/.github
cp .github/rustframe_logo.png target/doc/rustframe/.github/
echo "<meta http-equiv=\"refresh\" content=\"0; url=rustframe\">" > target/doc/index.html
cp tarpaulin-report.html target/doc/docs/
cp tarpaulin-report.json target/doc/docs/
cp tarpaulin-badge.json target/doc/docs/
cp last-commit-date.json target/doc/docs/
mkdir -p target/doc/docs/.github
cp .github/rustframe_logo.png target/doc/docs/.github/
echo "<meta http-equiv=\"refresh\" content=\"0; url=docs\">" > target/doc/index.html
- name: Upload Pages artifact
# if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'