Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek committed Jan 22, 2025
1 parent c82527d commit ffcda22
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/preview-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: ./actions/aws-auth
with:
role_name_prefix: elastic-docs-v3-preview-

- name: Delete s3 objects
env:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ jobs:
path: .artifacts/docs/html

- uses: ./actions/aws-auth
with:
role_name_prefix: elastic-docs-v3-preview-

- name: Upload to S3
env:
Expand Down
10 changes: 4 additions & 6 deletions actions/aws-auth/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ description: |
This is an opinionated action to authenticate with AWS.
It will generate a role ARN based on the repository name and the AWS account ID.
inputs:
role_name_prefix:
description: 'The prefix for the role name'
required: true

inputs:
aws_account_id:
description: 'The AWS account ID to generate the role ARN for'
Expand All @@ -19,6 +13,10 @@ inputs:
description: 'The AWS region to use'
required: false
default: 'us-east-1'
aws_role_name_prefix:
description: 'The prefix for the role name'
required: false
default: 'elastic-docs-v3-preview-'

runs:
using: composite
Expand Down

0 comments on commit ffcda22

Please sign in to comment.