Skip to content

Commit

Permalink
keep build artifact for later use
Browse files Browse the repository at this point in the history
  • Loading branch information
leofang committed Dec 28, 2024
1 parent f3c9401 commit cd19456
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/gh-build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
required: true

jobs:
doc:
name: Build & publish docs
build:
name: Build docs
# The build stage could fail but we want the CI to keep moving.
if: ${{ github.repository_owner == 'nvidia' && always() }}
runs-on: ubuntu-latest
Expand Down Expand Up @@ -73,7 +73,15 @@ jobs:
popd
- name: Build all docs
id: build
run: |
cd cuda_python/docs/
pushd cuda_python/docs/
./build_all_docs.sh latest-only
ls -l build
popd
- name: Upload doc artifacts
uses: actions/upload-pages-artifact@v3
with:
path: cuda_python/docs/build/html/
retention-days: 3

0 comments on commit cd19456

Please sign in to comment.