I have defined different virtual hosts for different environment like stage, preprod and prod and have the equivalent branch on bitbucket repo. I want to deploy each push/merge to these branches to their respective virtual host on ec2. My project is simple PHP application.
I am using aws free tier services.
Thanks in advance