Skip to content

Commit b8855c5

Browse files
authored
Update generate-docs-site.yml
1 parent afc48b7 commit b8855c5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/generate-docs-site.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@ name: Deploy Reference Documentation
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
ref:
7+
description: 'Branch or tag to deploy reference docs from. Defaults to current branch.'
8+
type: string
9+
required: false
10+
default: ''
511

612
permissions:
713
id-token: write
@@ -11,5 +17,6 @@ jobs:
1117
uses: "ExpediaGroup/expediagroup-java-sdk/.github/workflows/generate-ref-docs.yaml@main"
1218
with:
1319
buildsystem: 'maven'
20+
ref: ${{ inputs.ref != '' && inputs.ref || github.ref }}
1421
secrets:
1522
GITHUB_PAT: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)