Add checkbox type for prompt
Closed this issue · 2 comments
xuqingfeng commented
prompt:
trigger_next_step:
type: checkbox
default: true
...
- name: Build image
type: bash
cmd: |
...
{% if trigger_next_step %}
echo "Trigger deployment"
curl -X POST -d '{...}' -H 'Content-Type: application/json' \
https://pipelines.com/api/webhook/<uuid>
{% endif %}
JuhaS commented
JuhaS commented
Closing