aws/aws-codedeploy-agent

Directory not removed from destination when removed from source

Opened this issue · 0 comments

When deploying to EC2 from Github, we have deleted a directory app/models/model_name_dir from our repo.... But upon deployment, that folder is not removed from the server.

Is this expected? Why would a folder that no longer exists in source still be present in destination. Is there an appspec.yml setting to ensure that folder is removed when it no longer exists in the source?