mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-19 20:19:59 +00:00
Add user guide build and output steps to CI workflow
This commit is contained in:
parent
b78dd75e77
commit
4876a74e01
15
.github/workflows/docs-and-testcov.yml
vendored
15
.github/workflows/docs-and-testcov.yml
vendored
@ -153,7 +153,6 @@ jobs:
|
||||
|
||||
echo "<meta http-equiv=\"refresh\" content=\"0; url=../docs/index.html\">" > target/doc/rustframe/index.html
|
||||
|
||||
mkdir output
|
||||
cp tarpaulin-report.html target/doc/docs/
|
||||
cp tarpaulin-report.json target/doc/docs/
|
||||
cp tarpaulin-badge.json target/doc/docs/
|
||||
@ -166,6 +165,20 @@ jobs:
|
||||
# copy the benchmark report to the output directory
|
||||
cp -r benchmark-report target/doc/
|
||||
|
||||
mkdir output
|
||||
cp -r target/doc/* output/
|
||||
|
||||
- name: Build user guide
|
||||
run: |
|
||||
cd docs
|
||||
./build.sh
|
||||
cd ..
|
||||
|
||||
- name: Copy user guide to output directory
|
||||
run: |
|
||||
mkdir -p target/doc/user-guide
|
||||
cp -r docs/book/* target/doc/user-guide/
|
||||
|
||||
- name: Add index.html to output directory
|
||||
run: |
|
||||
cp .github/htmldocs/index.html target/doc/index.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user