Hi,
I am new to bitbucket and the concept of pipeline to CI/CD. I was wondering if it is possible to specify the pipeline to upload the file that was updated.
E.g From my project if I update index.html page, i just want to deploy this file to AWS using codedeploy. Right now my pipeline is uploading the entire repository. Can you please suggest me an example of how my code can be updated to push file that is changed/updated?
following is my yml file:
Hi @bijoyc . The pipe users S3 to publish CodeDeploy application revisions. The way CodeDeploy works with this type of application revisions storage, is that you have to provide an archive bundle with the entire sources code for your application. So it basically the only option is to upload the entire application, not the changed files only.Here is a reference to the official CodeDeploy docs https://docs.aws.amazon.com/codedeploy/latest/userguide/application-revisions.html?shortFooter=true. You might be able to achieve something by playing around with the app spec file, but I highly doubt that updating only a single file is possible.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.