Skip to content

iamdbc/artifact-s3-uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

compile

if you change the index.js, remember to compile index.js

$ ncc build index.js --license licenses.txt

usage

only support to upload to public bucket

add secrects in your repo setting like

AWS_ACCESS_KEY_ID

AWS_SECRET_ACCESS_KEY

put this in your action

- name: upload to s3
  uses: iamdbc/artifact-s3-uploader@v1.0.0
  with:
    access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
    secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    bucket: yourpublicbucket
    source_file: the_file_you_want_to_upload
    key: the_s3_object_key

About

Upload GitHub Action Artifacts to S3

Resources

Stars

Watchers

Forks

Packages

No packages published