We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b504f0 commit 7f648bcCopy full SHA for 7f648bc
1 file changed
.github/workflows/deploy.yaml
@@ -1,6 +1,12 @@
1
name: Deploy Python Package
2
3
on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ ref:
7
+ description: 'Git ref to deploy (tag or branch), e.g. 0.5.2'
8
+ required: true
9
+ default: '0.5.2'
10
release:
11
types: [published]
12
@@ -12,7 +18,10 @@ jobs:
18
id-token: write
13
19
14
20
steps:
15
- - uses: actions/checkout@v4
21
+ - name: Check out selected ref
22
+ uses: actions/checkout@v4
23
+ with:
24
+ ref: ${{ github.event.inputs.ref || github.ref }}
16
25
17
26
- name: Set up Python
27
uses: actions/setup-python@v5
0 commit comments