Skip to content

Commit

Permalink
build(gha): build docs in PR
Browse files Browse the repository at this point in the history
  • Loading branch information
zero88 committed Jan 18, 2024
1 parent 7200a90 commit 17c44d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
docs:
uses: zero88/shared-ghactions/.github/workflows/antora-docs.yml@main
needs: [ context, build ]
if: needs.context.outputs.shouldPublish == 'true'
if: needs.context.outputs.shouldBuild == 'true'
with:
profile: 'schedulerx'
version: ${{ needs.context.outputs.version }}
Expand All @@ -57,6 +57,7 @@ jobs:
sha: ${{ needs.context.outputs.sha }}
isRelease: ${{ needs.context.outputs.isRelease }}
antoraBuildDir: docs/build/docs/antora
syncDoc: ${{ needs.context.outputs.shouldPublish }}
docBranch: ${{ needs.context.outputs.docBranch }}
docVersion: ${{ needs.context.outputs.docVersion }}
docCommitMsg: ${{ needs.context.outputs.docCommitMsg }}
Expand Down

0 comments on commit 17c44d3

Please sign in to comment.