Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scribd/upload-file-to-s3-action
GitHub Action for uploading individual files to S3
https://github.com/scribd/upload-file-to-s3-action
actions
Last synced: about 2 months ago
JSON representation
GitHub Action for uploading individual files to S3
- Host: GitHub
- URL: https://github.com/scribd/upload-file-to-s3-action
- Owner: scribd
- License: mit
- Created: 2021-01-25T20:38:55.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-17T02:04:59.000Z (10 months ago)
- Last Synced: 2024-03-17T06:24:22.123Z (10 months ago)
- Topics: actions
- Language: JavaScript
- Homepage:
- Size: 115 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Upload File to S3 Action
Github Action to upload individual files to S3.
## Example usage
```yaml
- uses: scribd/upload-file-to-s3-action@v2
with:
path: build/outputs/release/built-app.apk
destination: myapp.apk
bucket: my-bucket
access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
```## Inputs
### `path`
The filepath to upload.
### `destination`
The destination filepath. **Optional, defaults to `path`**
### `bucket`
The bucket to place the file in.
### `access-key-id`
The AWS access key id.
### `secret-access-key`
The AWS secret access key.
### `region`
The AWS region to use. **Defaults to `us-east-1`.**
### `permissions`
The ACL permissions to set for the file. **Defaults to `public-read`.**