Skip to content

Commit 85e80b0

Browse files
authored
Add a checkout_ref optional argument to releaser.yml to define which branch/tag reference the Meili step checks out (#1230)
1 parent 5a5a3cc commit 85e80b0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/releaser.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
description: 'Release tag'
1111
default: 'latest'
1212
type: string
13+
checkout_ref:
14+
description: 'Ref to checkout for doc index (default to current branch)'
15+
default: ''
16+
type: string
1317

1418
env:
1519
DOCUMENTATION_CNAME: 'dpf.docs.pyansys.com'
@@ -80,6 +84,8 @@ jobs:
8084
steps:
8185
- name: "Install Git and clone project"
8286
uses: actions/checkout@v4
87+
with:
88+
ref: ${{ github.event.inputs.checkout_ref || '' }}
8389

8490
- name: "Install the package requirements"
8591
run: pip install -e .

0 commit comments

Comments
 (0)