Codefresh Steps: Reusable Code for Common Operations
This page provides code you can use to perform common operations in the Codefresh CI/CD platform.
aws-s3 aws-s3
Integration that uploads files to S3
arguments
uploadToS3:
title: Uploading to S3
type: aws-s3
stage: cleanup
arguments:
REGION: us-east-1
BUCKET: my-s3-bucket
S3_PREFIX: myDirectory/subdirectory
S3_INTEGRATION: amazon
SOURCE: '${{CF_REPO_NAME}}/myDirectory'
uploadToS3:
title: Uploading to S3
type: aws-s3
stage: cleanup
arguments:
REGION: us-east-1
BUCKET: my-s3-bucket
S3_PREFIX: myDirectory/subdirectory
SOURCE: '${{CF_REPO_NAME}}/myDirectory'