File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -23,14 +23,25 @@ runs:
2323 using : " composite"
2424 steps :
2525 - id : repo-basename
26+ if : ${{ github.repository.private == false }}
2627 shell : bash
2728 run : ' echo "value=`basename ${{ github.repository }}`" >> $GITHUB_OUTPUT'
28- - name : Build documentation
29+
30+ - name : Build public documentation
31+ if : ${{ github.repository.private == false }}
2932 uses : elastic/docs-builder@main
3033 continue-on-error : ${{ inputs.continue-on-error == 'true' }}
3134 with :
3235 prefix : ' ${{ steps.repo-basename.outputs.value }}'
3336 strict : ${{ inputs.strict }}
37+
38+ - name : Build private documentation
39+ if : ${{ github.repository.private == true }}
40+ uses : elastic/docs-builder@main
41+ continue-on-error : ${{ inputs.continue-on-error == 'true' }}
42+ with :
43+ strict : ${{ inputs.strict }}
44+
3445 - name : Setup Pages
3546 id : pages
3647
You can’t perform that action at this time.
0 commit comments