refactor CI workflow to consolidate output directory and simplify artifact upload

This commit is contained in:
Palash Tyagi 2025-04-19 23:07:11 +01:00
parent 65819b53c0
commit 083e71f81b

View File

@ -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'