8000 fix: update inputs · staevs/s3-deploy-action@4c64841 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4c64841

Browse files
committed
fix: update inputs
1 parent 3f45c2e commit 4c64841

File tree

3 files changed

+9
-28
lines changed

3 files changed

+9
-28
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,11 @@ Uses official [amazon/aws-cli](https://hub.docker.com/r/amazon/aws-cli) Docker i
55
Before start configure your [AWS credentials](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html#cli-configure-quickstart-creds-create)
66

77

8+
| Environment Variable | Required | Description |
9+
|-----------------------|-----------------------------|------------------------------------------------------------------------------------------------------------------|
10+
| AWS_ACCESS_KEY_ID | true | Access Key ID. A unique identifier that's associated with a secret access key |
11+
| AWS_SECRET_ACCESS_KEY | true | Secret Access Key. A key that's used with the access key ID to cryptographically sign programmatic AWS requests. |
12+
| AWS_REGION | true | Your AWS Region |
13+
| AWS_S3_BUCKET | true | Your S3 Bucket name |
14+
| S3_SOURCE_DIR | true | Path to local folder |
15+
| S3_DESTINATION_DIR | false (defaults to S3 root) | Path to folder in a S3 bucket |

action.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,33 +4,6 @@ branding:
44
icon: upload-cloud
55
color: red
66
author: staevs
7-
inputs:
8-
AWS_ACCESS_KEY_ID:
9-
description: "Access Key ID. A unique identifier that's associated with a secret access key"
10-
required: true
11-
AWS_SECRET_ACCESS_KEY:
12-
description: "Secret Access Key. A key that's used with the access key ID to cryptographically sign programmatic AWS requests."
13-
required: true
14-
AWS_REGION:
15-
description: "Your AWS Region"
16-
required: true
17-
AWS_S3_BUCKET:
18-
description: "Your S3 Bucket name"
19-
required: true
20-
S3_SOURCE_DIR:
21-
description: "Path to local folder"
22-
required: true
23-
S3_DESTINATION_DIR:
24-
description: "Path to folder in a S3 bucket"
25-
required: false
26-
default: ""
277
runs:
288
using: docker
299
image: Dockerfile
30-
args:
31-
- ${{ inputs.AWS_ACCESS_KEY_ID }}
32-
- ${{ inputs.AWS_SECRET_ACCESS_KEY }}
33-
- ${{ inputs.AWS_REGION }}
34-
- ${{ inputs.AWS_S3_BUCKET }}
35-
- ${{ inputs.S3_SOURCE_DIR }}
36-
- ${{ inputs.S3_DESTINATION_DIR }}

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22

33
aws --version
44
set -e

0 commit comments

Comments
 (0)
0