Skip to content

Commit 8957288

Browse files
FEAT: add an input for the render last version for multiple documentation in workflow (#100)
1 parent e598c9a commit 8957288

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

doc-deploy-stable/action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ inputs:
2020
default: '3.10'
2121
required: false
2222
type: string
23+
render-last:
24+
description: 'Number of last versions to be rendered in multi-doc.'
25+
default: '3'
26+
required: false
27+
type: string
2328

2429
runs:
2530
using: "composite"
@@ -102,7 +107,7 @@ runs:
102107
--cname ${{ inputs.cname }} \
103108
--json_filename ${{ inputs.version-config }} \
104109
--new_version ${{ env.VERSION }} \
105-
--render_last 3
110+
--render_last ${{ inputs.render-last }}
106111
# Remove the script to avoid Git tracking it
107112
rm -rf version_mapper.py
108113

0 commit comments

Comments
 (0)