Skip to content

GitHub Action for S3 cp

License

Notifications You must be signed in to change notification settings

OpenGov/s3-cp-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Action to S3 cp

Borrowed most of it from jakejarvis/s3-sync-action.

Usage

name: Download a file from S3

on:
  push:
    branches:
    - master

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - uses: prewk/s3-cp-action@master
      env:
        AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
        AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
        AWS_REGION: 'us-west-1' # optional: defaults to us-east-1
        SOURCE: 's3://some-bucket/something-remote'
        DEST: './something-local'

Packages

No packages published

Languages

  • Shell 70.2%
  • Dockerfile 29.8%