Skip to content

Commit

Permalink
more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Nov 6, 2024
1 parent f8c01a1 commit 19e952b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ jobs:
with:
script: "ci/build_docs.sh"
# only deploy docs on tag pushes or when someone manually runs the workflow
deploy: ${{ github.event_name == 'tag' || inputs.deploy_docs == true }}
deploy: ${{ github.event_name == 'tag' || (github.event_name == 'workflow_dispatch' && inputs.deploy_docs == 'true') }}
secrets: inherit
4 changes: 3 additions & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ jobs:
- name: do-stuff
run: |
echo "inputs.deploy_docs: ${{ inputs.deploy_docs }}"
echo "inputs.deploy_docs == true: ${{ inputs.deploy_docs == true }}"
echo "inputs.deploy_docs == 'true': ${{ inputs.deploy_docs == 'true' }}"
echo "github.event_name: ${{ github.event_name }}"
echo "big compound condition: ${{ github.event_name == 'tag' || (github.event_name == 'workflow_dispatch' && inputs.deploy_docs == 'true') }}"
echo "github.event_name == 'push': ${{ github.event_name == 'push' }}"
docs-build:
needs:
- check-settings
Expand Down

0 comments on commit 19e952b

Please sign in to comment.