Skip to content

Commit 23375be

Browse files
committed
tweak cli autodoc
1 parent 1313263 commit 23375be

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ jobs:
1919
steps:
2020
- name: Only deploy on repository_dispatch if version starts with 'v'
2121
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 }}"
2427
if [[ "${{ github.event.client_payload.version }}" != v* ]]; then
2528
echo "Version does not start with 'v'. Stopping workflow."
2629
exit 1

0 commit comments

Comments
 (0)