Skip to content

[Feature Request] cp, but from s3? #10

@dep

Description

@dep

I am loving this workflow, but something I'd like to do is inverse the cp operation, like this:

- uses: keithweaver/[email protected]
  with:
    command: cp
    source: s3://${{ secrets.AWS_PROD_BUCKET }}/assets
    destination: ./applications/composed-storybook/storybook-static/versions
    aws_access_key_id: ${{ secrets.AWS_PROD_S3_UPLOADER_ACCESS_KEY }}
    aws_secret_access_key: ${{ secrets.AWS_PROD_S3_UPLOADER_SECRET_KEY }}
    aws_region: us-east-1

so source being a copy-from, destination being a copy-to.

I could probably avoid doing this if I could set the output of ls to a variable or something. Any help appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions