We are using a code pipeline to deploy code on Elastic beanstalk but my deployment failed on workers usually the error is [ERROR] An error occurred during the execution of command [app-deploy] - [FlipApplication]. Stop running the command. Error: remove current dir failed: unlink /var/app/current: directory not empty
Web deployed perfectly but when it started deploying on worker it fails.
Error: remove current dir failed: unlink /var/app/current: directory not empty