mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 13:00:00 +00:00
Update output directory structure for documentation and coverage reports
This commit is contained in:
parent
88d1d6b3ff
commit
186dffe29b
18
.github/workflows/docs-and-testcov.yml
vendored
18
.github/workflows/docs-and-testcov.yml
vendored
@ -94,14 +94,18 @@ jobs:
|
|||||||
|
|
||||||
- name: Copy files to output directory
|
- name: Copy files to output directory
|
||||||
run: |
|
run: |
|
||||||
|
# mkdir docs
|
||||||
|
mkdir -p target/doc/docs
|
||||||
|
cp -r target/doc/rustframe/* target/doc/docs/
|
||||||
|
|
||||||
mkdir output
|
mkdir output
|
||||||
cp tarpaulin-report.html target/doc/rustframe/
|
cp tarpaulin-report.html target/doc/docs/
|
||||||
cp tarpaulin-report.json target/doc/rustframe/
|
cp tarpaulin-report.json target/doc/docs/
|
||||||
cp tarpaulin-badge.json target/doc/rustframe/
|
cp tarpaulin-badge.json target/doc/docs/
|
||||||
cp last-commit-date.json target/doc/rustframe/
|
cp last-commit-date.json target/doc/docs/
|
||||||
mkdir -p target/doc/rustframe/.github
|
mkdir -p target/doc/docs/.github
|
||||||
cp .github/rustframe_logo.png target/doc/rustframe/.github/
|
cp .github/rustframe_logo.png target/doc/docs/.github/
|
||||||
echo "<meta http-equiv=\"refresh\" content=\"0; url=rustframe\">" > 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
|
||||||
# if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
# if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user