Skip to content

Commit

Permalink
fix: makes building docs optional (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgilman authored Jan 10, 2024
1 parent aae5064 commit c46044c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ on:
required: false
type: boolean
default: false
publish_docs:
description: |
When set to true, the workflow will publish documentation to GitHub
pages.
required: false
type: boolean
default: true
skip_publish_on_default:
description: |
If set to true, images will not be published when the workflow is
Expand Down Expand Up @@ -146,6 +153,7 @@ jobs:
earthly_runner_secret: ${{ secrets.earthly_runner_secret }}
docs:
uses: ./.github/workflows/pages.yml
if: inputs.publish_docs == true
needs: [build, check, package, test]
with:
aws_role_arn: ${{ inputs.aws_role_arn }}
Expand Down

0 comments on commit c46044c

Please sign in to comment.