Skip to content

Commit 75787ee

Browse files
committed
chore: add optional ref input
1 parent 19c4650 commit 75787ee

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

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

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,9 @@ permissions:
1414

1515
jobs:
1616
deploy-reference-docs:
17-
runs-on: ubuntu-latest
18-
steps:
19-
- name: Get ref name
20-
id: get_branch
21-
run: echo "::set-output name=branch::$(echo ${GITHUB_REF#refs/heads/})"
22-
- uses: "ExpediaGroup/expediagroup-java-sdk/.github/workflows/generate-ref-docs.yaml@main"
23-
with:
24-
buildsystem: 'maven'
25-
ref: ${{ inputs.ref }}
26-
secrets:
27-
GITHUB_PAT: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
17+
uses: "ExpediaGroup/expediagroup-java-sdk/.github/workflows/generate-ref-docs.yaml@main"
18+
with:
19+
buildsystem: 'maven'
20+
ref: ${{ inputs.ref }}
21+
secrets:
22+
GITHUB_PAT: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)