mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 04:00:01 +00:00
refactor CI workflow to consolidate output directory and simplify artifact upload
This commit is contained in:
parent
65819b53c0
commit
083e71f81b
6
.github/workflows/docs-and-testcov.yml
vendored
6
.github/workflows/docs-and-testcov.yml
vendored
@ -48,15 +48,13 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir output
|
mkdir output
|
||||||
cp -r testcov/* output/
|
cp -r testcov/* output/
|
||||||
cp -r docs/* output/
|
cp -r docs/* output/
|
||||||
|
|
||||||
- name: Upload Pages artifact
|
- name: Upload Pages artifact
|
||||||
# if: github.event_name == 'push'
|
# if: github.event_name == 'push'
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: |
|
path: output
|
||||||
testcov
|
|
||||||
docs
|
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
# if: github.event_name == 'push'
|
# if: github.event_name == 'push'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user