mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
Update output directory for user guide and artifact upload in CI workflow
This commit is contained in:
parent
a6a901d6ab
commit
b62152b4f0
5
.github/workflows/docs-and-testcov.yml
vendored
5
.github/workflows/docs-and-testcov.yml
vendored
@ -178,7 +178,7 @@ jobs:
|
|||||||
- name: Copy user guide to output directory
|
- name: Copy user guide to output directory
|
||||||
run: |
|
run: |
|
||||||
mkdir -p target/doc/user-guide
|
mkdir -p target/doc/user-guide
|
||||||
cp -r docs/book/* target/doc/user-guide/
|
cp -r docs/book/* output/user-guide/
|
||||||
|
|
||||||
- name: Add index.html to output directory
|
- name: Add index.html to output directory
|
||||||
run: |
|
run: |
|
||||||
@ -189,7 +189,8 @@ jobs:
|
|||||||
# 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
|
||||||
with:
|
with:
|
||||||
path: target/doc/
|
# path: target/doc/
|
||||||
|
path: output/
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
# 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