mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-10-04 15:19:25 +00:00
refactor CI workflow to consolidate output directory and simplify artifact upload
This commit is contained in:
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'
|
||||||
|
Reference in New Issue
Block a user