Skip to content

Uploads a file to s3 and adds version to the name

Notifications You must be signed in to change notification settings

fxtr/ga-s3-upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

S3 upload

Github action to upload to S3 and add a version to the name

Used inputs

  • aws-access-key-id
  • aws-secret-access-key
  • aws-region
  • github_ref
  • bucket_name
  • bucket_path
  • no_release_path: if true RELEASE_VERSION will not be appended to bucket_path; made to keep backwards compatibility
  • target: file to upload
  • target_dir: directory to upload
  • sync_options: additional options for aws s3 sync

if BRANCH_NAME satisfies regex ^[a-zA-Z0-9]\.[a-zA-Z0-9]\.[a-zA-Z0-9]$ then RELEASE_VERSION will be like 1.0.0 otherwise RELEASE_VERSION will be like branchname-202002041154

About

Uploads a file to s3 and adds version to the name

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published