This repository has been archived by the owner on Oct 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f306fb
commit 72a34f4
Showing
3 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,12 @@ inputs: | |
dry_run: | ||
description: 'Is this a dry run. If so no package will be published.' | ||
required: true | ||
aws_role: | ||
description: 'The AWS role to assume, needed to fetch release secrets.' | ||
required: true | ||
token: | ||
description: 'The GitHub token to use for publishing documentation.' | ||
required: true | ||
|
||
runs: | ||
using: composite | ||
|
@@ -32,7 +38,7 @@ runs: | |
- uses: launchdarkly/gh-actions/actions/[email protected] | ||
name: Get secrets | ||
with: | ||
aws_assume_role: ${{ vars.AWS_ROLE_ARN }} | ||
aws_assume_role: ${{ inputs.aws_role }} | ||
ssm_parameter_pairs: '/production/common/releasing/digicert/host = DIGICERT_HOST, | ||
/production/common/releasing/digicert/api_key = DIGICERT_API_KEY, | ||
/production/common/releasing/digicert/client_cert_file_b64 = DIGICERT_CLIENT_CERT_FILE_B64, | ||
|
@@ -65,4 +71,4 @@ runs: | |
uses: ./.github/actions/publish-docs | ||
with: | ||
workspace_path: ${{ inputs.workspace_path }} | ||
token: ${{secrets.GITHUB_TOKEN}} | ||
token: ${{ inputs.token }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters