Skip to content

Commit

Permalink
untar artifacts, upload for github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneVoss committed Jan 11, 2024
1 parent 320c16b commit 03c5b45
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/regression-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,6 @@ jobs:
name: tutorials
path: ./doc/html
if-no-files-found: ignore
- name: Upload Jupyter book for pages
# This is not a normal artifact but one that can be deployed to the GitHub pages in the next step
uses: actions/upload-pages-artifact@v3
with:
name: github-pages # This name may not be changed according to the documentation
path: ./doc/html
if-no-files-found: ignore

combine-pages:
runs-on: ubuntu-latest
Expand All @@ -145,13 +138,25 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
merge-multiple: true
merge-multiple: false
- name: See what we've got
run: ls -la
run: |
ls -lah
tar -xf artifact.tar
ls -lah
- name: Upload subdirectories for pages
# This is not a normal artifact but one that can be deployed to the GitHub pages in the next step
uses: actions/upload-pages-artifact@v3
with:
name: github-pages # This name may not be changed according to the documentation
path: |
./tutorials
./coverage
if-no-files-found: ignore

deploy-pages:
# Add a dependency to the build job
needs: [Jupyter, Pytest]
needs: combine-pages
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
Expand Down

0 comments on commit 03c5b45

Please sign in to comment.