mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-21 07:20:01 +00:00
Compare commits
2 Commits
00befe7ee4
...
7c96439550
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7c96439550 | ||
![]() |
76b8824ce3 |
11
.github/workflows/docs-and-testcov.yml
vendored
11
.github/workflows/docs-and-testcov.yml
vendored
@ -103,10 +103,17 @@ 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/
|
||||||
mkdir -p target/doc/docs/.github
|
cp -r .github target/doc/docs/.github
|
||||||
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
|
||||||
|
|
||||||
|
# verify that .github exists in the output directory
|
||||||
|
- name: Verify .github directory
|
||||||
|
run: |
|
||||||
|
if [ ! -d target/doc/docs/.github ]; then
|
||||||
|
echo ".github directory not found in output!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- 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'
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user