Skip to content

Commit a4a6613

Browse files
Update Workflow Input examples to include boolean
1 parent 5be87cb commit a4a6613

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/actions/learn-github-actions/contexts.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,10 +766,14 @@ on:
766766
deploy_target:
767767
required: true
768768
type: string
769+
perform_deploy:
770+
required: true
771+
type: boolean
769772
770773
jobs:
771774
deploy:
772775
runs-on: ubuntu-latest
776+
if: ${{ inputs.perform_deploy == 'true' }}
773777
steps:
774778
- name: Deploy build to target
775779
run: deploy --build ${{ inputs.build_id }} --target ${{ inputs.deploy_target }}

0 commit comments

Comments
 (0)