Skip to content

Commit ffcda22

Browse files
committed
test
1 parent c82527d commit ffcda22

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

.github/workflows/preview-cleanup.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: ./actions/aws-auth
16-
with:
17-
role_name_prefix: elastic-docs-v3-preview-
1816

1917
- name: Delete s3 objects
2018
env:

.github/workflows/preview.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ jobs:
4646
path: .artifacts/docs/html
4747

4848
- uses: ./actions/aws-auth
49-
with:
50-
role_name_prefix: elastic-docs-v3-preview-
5149

5250
- name: Upload to S3
5351
env:

actions/aws-auth/action.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ description: |
44
This is an opinionated action to authenticate with AWS.
55
It will generate a role ARN based on the repository name and the AWS account ID.
66
7-
8-
inputs:
9-
role_name_prefix:
10-
description: 'The prefix for the role name'
11-
required: true
12-
137
inputs:
148
aws_account_id:
159
description: 'The AWS account ID to generate the role ARN for'
@@ -19,6 +13,10 @@ inputs:
1913
description: 'The AWS region to use'
2014
required: false
2115
default: 'us-east-1'
16+
aws_role_name_prefix:
17+
description: 'The prefix for the role name'
18+
required: false
19+
default: 'elastic-docs-v3-preview-'
2220

2321
runs:
2422
using: composite

0 commit comments

Comments
 (0)