Skip to content

Commit 74f3657

Browse files
committed
fix: Remove extraneous 'input' arg
1 parent 872ff80 commit 74f3657

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/actions/s3-delete/action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ runs:
4747
--region ${{ inputs.aws_region }} \
4848
--bucket ${{ inputs.aws_bucket_name }} \
4949
--role ${{ inputs.aws_role }} \
50-
--input ${{ inputs.local_dir }} \
5150
${{ inputs.dry_run && '--dry' || '' }} \
5251
${{ inputs.bucket_dir && format('--dir {0}', inputs.bucket_dir) || '' }}
5352
shell: bash

.github/actions/s3-delete/args.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ export const args = yargs(hideBin(process.argv))
1111
.string('bucket')
1212
.describe('bucket', 'S3 bucket name')
1313

14-
.string('input')
15-
.describe('input', 'The local directory containing the files to be uploaded.')
16-
1714
.string('region')
1815
.describe('region', 'AWS region location of S3 bucket. Defaults to us-east-1.')
1916
.default('region', 'us-east-1')
@@ -26,5 +23,5 @@ export const args = yargs(hideBin(process.argv))
2623
.string('dir')
2724
.describe('dir', 'Bucket sub-directory name. Leave empty to refer to the root of the bucket.')
2825

29-
.demandOption(['bucket', 'role', 'input'])
26+
.demandOption(['bucket', 'role'])
3027
.argv

0 commit comments

Comments
 (0)