Skip to content

Publish Docs

Publish Docs #4

on:
workflow_dispatch:
inputs:
workspace_path:
description: 'The workspace to publish'
required: true
type: choice
options:
- lib/java-server-sdk-otel
- lib/shared/common
dry_run:
description: 'Is this a dry run. If so no docs will be published.'
type: boolean
required: true
name: Publish Docs
jobs:
build-publish:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v4
- uses: launchdarkly/gh-actions/actions/[email protected]
name: Assume aws role
with:
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
- name: CI Check
uses: ./.github/actions/ci
with:
workspace_path: ${{ inputs.workspace_path }}
java_version: 8
- name: Publish Documentation
uses: ./.github/actions/publish-docs
with:
workspace_path: ${{ inputs.workspace_path }}
dry_run: ${{ inputs.dry_run }}
token: ${{secrets.GITHUB_TOKEN}}