Skip to content

Commit cd19456

Browse files
committed
keep build artifact for later use
1 parent f3c9401 commit cd19456

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/gh-build-docs.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
required: true
77

88
jobs:
9-
doc:
10-
name: Build & publish docs
9+
build:
10+
name: Build docs
1111
# The build stage could fail but we want the CI to keep moving.
1212
if: ${{ github.repository_owner == 'nvidia' && always() }}
1313
runs-on: ubuntu-latest
@@ -73,7 +73,15 @@ jobs:
7373
popd
7474
7575
- name: Build all docs
76+
id: build
7677
run: |
77-
cd cuda_python/docs/
78+
pushd cuda_python/docs/
7879
./build_all_docs.sh latest-only
7980
ls -l build
81+
popd
82+
83+
- name: Upload doc artifacts
84+
uses: actions/upload-pages-artifact@v3
85+
with:
86+
path: cuda_python/docs/build/html/
87+
retention-days: 3

0 commit comments

Comments
 (0)