Skip to content

Commit 6edbbdc

Browse files
authored
specify branch to deploy (#3899)
1 parent fe3b4be commit 6edbbdc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/python-package-0.2.yml

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ on:
55
tags:
66
- "0.2.*"
77
workflow_dispatch:
8+
inputs:
9+
branch:
10+
description: 'Branch to deploy the package'
11+
required: true
12+
default: '0.2'
813
permissions: {}
914
jobs:
1015
deploy:
@@ -21,6 +26,8 @@ jobs:
2126
steps:
2227
- name: Checkout
2328
uses: actions/checkout@v4
29+
with:
30+
ref: ${{ github.event.inputs.branch }}
2431
- name: Build
2532
shell: pwsh
2633
run: |

0 commit comments

Comments
 (0)