Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ jobs:
with:
workspace_path: packages/sdk/server-node
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
# Only publish docs on the default branch.
publish_docs: ${{ github.ref_name == github.event.repository.default_branch }}
5 changes: 5 additions & 0 deletions actions/full-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ inputs:
aws_assume_role:
description: 'The ARN of an AWS IAM role to assume. Used to auth with AWS to upload results to S3.'
required: true
publish_docs: # This is useful for previous major versions to avoid overwriting current docs.
description: 'Should this release publish documentation?'
required: false
default: 'true'

runs:
using: composite
Expand Down Expand Up @@ -37,5 +41,6 @@ runs:
prerelease: false
dry_run: false
- uses: ./actions/publish-docs
if: ${{ inputs.publish_docs == 'true' }}
with:
workspace_path: ${{ inputs.workspace_path }}