File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 19
19
steps :
20
20
- name : Only deploy on repository_dispatch if version starts with 'v'
21
21
run : |
22
- echo "Event name: ${{ github.event.client_payload }}"
23
- if [[ "${{ github.event_name }}" == "repository_dispatch" && "${{ github.event.client_payload.type }}" == "cli-autodoc" ]]; then
22
+ echo "Event name: ${{ github.event_name }}"
23
+ echo "Type: ${{ github.event.action }}"
24
+ echo "Version: ${{ github.event.client_payload.version }}"
25
+ if [[ "${{ github.event_name }}" == "repository_dispatch" && "${{ github.event.action }}" == "cli-autodoc" ]]; then
26
+ echo "Version: ${{ github.event.client_payload.version }}"
24
27
if [[ "${{ github.event.client_payload.version }}" != v* ]]; then
25
28
echo "Version does not start with 'v'. Stopping workflow."
26
29
exit 1
You can’t perform that action at this time.
0 commit comments