https://github.com/edjufy/s3cmd-github-action
Simple GitHub action which allows you to run a S3cmd command in your GitHub action.
https://github.com/edjufy/s3cmd-github-action
github-actions s3cmd
Last synced: 4 months ago
JSON representation
Simple GitHub action which allows you to run a S3cmd command in your GitHub action.
- Host: GitHub
- URL: https://github.com/edjufy/s3cmd-github-action
- Owner: edjufy
- License: gpl-3.0
- Created: 2021-04-12T14:41:06.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-04-24T09:05:33.000Z (about 2 years ago)
- Last Synced: 2024-04-24T14:19:24.530Z (about 2 years ago)
- Topics: github-actions, s3cmd
- Language: Shell
- Homepage:
- Size: 20.5 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# S3cmd GitHub action
This repository provides a simple GitHub action that allows you to run command with the [S3cmd](https://github.com/s3tools/s3cmd).
## Basic example
This simple example shows you how to run the simple `ls` command with the `S3cmd` cli.
The command should list all your buckets.
```yaml
name: Run S3cmd
on: push
jobs:
listBuckets:
runs-on: ubuntu-latest
steps:
- name: Run S3cmd
uses: edjufy/s3cmd-github-action@v1.1.1
with:
s3cmd_command: 'ls'
access_key: ${{ secrets.S3_ACCESS_KEY }}
secret_key: ${{ secrets.S3_SECRET_KEY }}
host_base: 's3.amazonaws.com'
bucket_location: 'US'
```
## Inputs
| Name | Description | Required | Default |
|-----------------|-----------------------------------|----------|------------------|
| s3cmd_command | Command to run with the s3cmd cli | Yes | |
| access_key | your access key | Yes | |
| secret_key | your secret key | Yes | |
| host_base | your s3 hostname | No | s3.amazonaws.com |
| bucket_location | your s3 bucket location | No | US |