How can I deploy Reports to AWS S3 Bucket from Travis even if Build fails?

How can I deploy Reports to AWS S3 Bucket from Travis even if Build fails?

Currently, I am using the “Deploy” tag in Travis.yml file to deploy the local report folder to AWS S3 Bucket. But it only works when the build is successful.

Is there any way to deploy something on AWS S3 Bucket even if Travis Build fails.

You can install AWS CLI manually according to instructions on the link and use it – e.g. in the after_script: phase.

1 Like