Skip to content

Commit

Permalink
Skip docs job in nightly runs (#1215)
Browse files Browse the repository at this point in the history
This PR configures the branch workflow to skip the docs job during nightly runs.

Authors:
  - Jake Awe (https://github.com/AyodeAwe)

Approvers:
  - AJ Schmidt (https://github.com/ajschmidt8)

URL: #1215
  • Loading branch information
AyodeAwe authored Feb 17, 2023
1 parent 82e184f commit 0cdd0ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
date: ${{ inputs.date }}
sha: ${{ inputs.sha }}
docs-build:
if: ${{ startsWith(github.ref, 'refs/heads/branch-') }}
if: github.ref_type == 'branch' && github.event_name == 'push'
needs: python-build
secrets: inherit
uses: rapidsai/shared-action-workflows/.github/workflows/[email protected]
Expand Down

0 comments on commit 0cdd0ba

Please sign in to comment.