Skip to content

Commit ff3c957

Browse files
committed
Add a checkout_ref optional argument to releaser.yml to define which branch/tag reference the Meili step checks out (#1230)
(cherry picked from commit 85e80b0)
1 parent 5115a39 commit ff3c957

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'
@@ -78,6 +82,8 @@ jobs:
7882
steps:
7983
- name: "Install Git and clone project"
8084
uses: actions/checkout@v4
85+
with:
86+
ref: ${{ github.event.inputs.checkout_ref || '' }}
8187

8288
- name: "Install the package requirements"
8389
run: pip install -e .

0 commit comments

Comments
 (0)