action.yml 688 B

1234567891011121314151617181920212223242526272829303132
  1. name: Upload S3
  2. description: 'Upload directory to S3'
  3. author: 'Dong Keon Kim'
  4. branding:
  5. icon: 'upload-cloud'
  6. color: 'orange'
  7. inputs:
  8. aws_key_id:
  9. description: 'aws key id'
  10. required: true
  11. aws_secret_access_key:
  12. description: 'aws secret access key'
  13. required: true
  14. aws_bucket:
  15. description: 'aws bucket name'
  16. required: true
  17. source_dir:
  18. required: true
  19. description: 'directory to upload'
  20. destination_dir:
  21. required: false
  22. default: /
  23. description: 'destination directory for upload'
  24. outputs:
  25. object_key:
  26. description: 'object key'
  27. object_locations:
  28. description: 'object locations'
  29. runs:
  30. using: 'node12'
  31. main: 'dist/index.js'