Skip to content

Commit 9e9eb54

Browse files
author
sangeet-joy_xero
committed
change the publish workflow trigger event to workflow dispatch
1 parent 57f0b51 commit 9e9eb54

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@ name: Publish
22
on:
33
# release:
44
# types: [published]
5-
push:
6-
branches:
7-
- '**'
5+
# push:
6+
# branches:
7+
# - '**'
8+
workflow_dispatch:
9+
inputs:
10+
cab_id:
11+
description: "CAB id for the change/release"
12+
required: true
13+
type: string
814

915
jobs:
1016
publish:
@@ -99,7 +105,7 @@ jobs:
99105
"url": "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}",
100106
"environment": "test",
101107
"sdk_type": "node",
102-
"cab_key": "CAB-5505"
108+
"cab_key": ${{ github.event.inputs.cab_id }}
103109
}
104110
}'
105111

0 commit comments

Comments
 (0)