# Documentation: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-ec2.html # commands: # command name: # command: command to run # cwd: working directory # env: # variable name: variable value # test: conditions for command # ignoreErrors: true commands: command1: command: git commit -am "Comment" cwd: /home/user/working/ command2: command: ls cwd: /home/user/working/