Skip to content

Commit

Permalink
chore: add optional ref input
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarAlJarrah committed Jan 23, 2025
1 parent 19c4650 commit 75787ee
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/generate-docs-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,9 @@ permissions:

jobs:
deploy-reference-docs:
runs-on: ubuntu-latest
steps:
- name: Get ref name
id: get_branch
run: echo "::set-output name=branch::$(echo ${GITHUB_REF#refs/heads/})"
- uses: "ExpediaGroup/expediagroup-java-sdk/.github/workflows/generate-ref-docs.yaml@main"
with:
buildsystem: 'maven'
ref: ${{ inputs.ref }}
secrets:
GITHUB_PAT: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
uses: "ExpediaGroup/expediagroup-java-sdk/.github/workflows/generate-ref-docs.yaml@main"
with:
buildsystem: 'maven'
ref: ${{ inputs.ref }}
secrets:
GITHUB_PAT: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}

0 comments on commit 75787ee

Please sign in to comment.