File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed
Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,26 @@ name: Deploy Reference Documentation
22
33on :
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 : ${{ github.ref_name }}
511
612permissions :
713 id-token : write
814
915jobs :
1016 deploy-reference-docs :
11- uses : " ExpediaGroup/expediagroup-java-sdk/.github/workflows/generate-ref-docs.yaml@main"
12- with :
13- buildsystem : ' maven'
14- secrets :
15- GITHUB_PAT : ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
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 }}
You can’t perform that action at this time.
0 commit comments