-
Notifications
You must be signed in to change notification settings - Fork 10
46 lines (42 loc) · 1.23 KB
/
manual-publish-docs.yml
File metadata and controls
46 lines (42 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
on:
workflow_dispatch:
inputs:
workspace_path:
description: 'The workspace to publish'
required: true
type: choice
options:
- lib/shared/common
- lib/shared/internal
- lib/shared/test-helpers
- lib/sdk/server
- lib/java-server-sdk-otel
- lib/java-server-sdk-redis-store
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/release-secrets@release-secrets-v1.0.1
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}}