37
HOW TO DEPLOY MOBILE APP BUILD ARTIFACTS AUTOMATICALLY TO AMAZON S3 WITH APPCIRCLE

Reading Time: 3 minutes
Appcircle supports the full lifecycle of mobile app projects for all CI/CD needs. In this article, we will be setting up Amazon S3 uploads for our builds. Any file or folder within the build environment can be deployed along with support for dynamic paths through environment variables.
Manage your mobile CI, CD and CT (continuous testing) with Appcircle
Amazon Simple Storage Service (S3) is an object storage service provided by AWS. It can be used to store build artifacts for various use cases. With the "File Upload to Amazon S3" step in Appcircle, you can directly upload any file or folder during the build to the specified Amazon S3 bucket.
To start, add the "File Upload to Amazon S3" step to the workflow from the workflow marketplace. You can add it anywhere within the workflow and multiple times as needed to upload specific files or folders. For instance, you can add it after the build step to deploy the build outputs.

Once added, press save to exit the workflow edit mode and click on the Amazon S3 step.\
The input values are as follows:
The input values are as follows:
It is highly recommended to add the keys as secret environment variables instead of typing them here for security purposes.
As for the output, the specified files and the folders are deployed to a newly created directory as
s3://bucket-name/timestamp
to avoid any conflicts and potential overwrites.
After you save your settings, you can run the build automatically with the triggers or run it manually and the step will be executed accordingly. You can view the details of the upload operation in the build logs:

You can then find your successfully uploaded files in your Amazon S3 bucket.
With Appcircle, you can automate the full lifecycle of your mobile app with continuous integration, continuous delivery and continuous testing.