Skip to content
This repository was archived by the owner on Sep 25, 2023. It is now read-only.

Commit d9788bb

Browse files
authored
run docs nightly too (#572)
This PR configures `cusignal` docs builds to also run nightly (not just on PR merges only) Authors: - Jake Awe (https://github.com/AyodeAwe) Approvers: - AJ Schmidt (https://github.com/ajschmidt8) URL: #572
1 parent 09915e5 commit d9788bb

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/build.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,16 @@ jobs:
4444
date: ${{ inputs.date }}
4545
sha: ${{ inputs.sha }}
4646
docs-build:
47-
if: github.ref_type == 'branch' && github.event_name == 'push'
47+
if: github.ref_type == 'branch'
4848
needs: python-build
4949
secrets: inherit
5050
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected]
5151
with:
52-
build_type: branch
53-
node_type: "gpu-v100-latest-1"
5452
arch: "amd64"
53+
branch: ${{ inputs.branch }}
54+
build_type: ${{ inputs.build_type || 'branch' }}
5555
container_image: "rapidsai/ci:latest"
56+
date: ${{ inputs.date }}
57+
node_type: "gpu-v100-latest-1"
5658
run_script: "ci/build_docs.sh"
59+
sha: ${{ inputs.sha }}

ci/build_docs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ sphinx-build -b text source _text
3131
popd
3232

3333

34-
if [[ ${RAPIDS_BUILD_TYPE} == "branch" ]]; then
34+
if [[ "${RAPIDS_BUILD_TYPE}" != "pull-request" ]]; then
3535
rapids-logger "Upload Docs to S3"
3636
aws s3 sync --no-progress --delete docs/_html "s3://rapidsai-docs/cusignal/${VERSION_NUMBER}/html"
3737
aws s3 sync --no-progress --delete docs/_text "s3://rapidsai-docs/cusignal/${VERSION_NUMBER}/txt"

0 commit comments

Comments
 (0)