Skip to content

Commit

Permalink
CI: remove files before upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Nov 3, 2023
1 parent f41d395 commit 53e3ac5
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions .github/workflows/full_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ jobs:
# testenv\Scripts\Activate.ps1
# .\doc\make.bat pdf

# TODO: update upload action once path exclusion is implemented (if ever)
# see https://github.com/actions/upload-pages-artifact/issues/33
- name: Remove files to not upload
run: |
echo "Removing files not wanted in the uploaded artifact"
Remove-Item doc/_build/html/.doctrees -Recurse -Force
- name: Upload HTML documentation artifact
uses: actions/upload-artifact@v3
with:
Expand All @@ -92,20 +99,6 @@ jobs:
path: doc/_build/html/EDBAPI
retention-days: 7

# - name: Upload PDF documentation artifact
# uses: actions/upload-artifact@v3
# with:
# name: documentation-pdf
# path: doc/_build/pdf
# retention-days: 7

# - name: Release
# uses: softprops/action-gh-release@v1
# if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
# with:
# generate_release_notes: true
# files: |
# doc/_build/pdf

doc-deploy-stable:
name: Deploy stable documentation
Expand Down

0 comments on commit 53e3ac5

Please sign in to comment.