Currently working on an assignment to improve our web-development process. A lot is done manually, like testing, deploying to the desired environment etc.
Here I made a workflow that I think will help us with this process. It consists of using Jenkins. Inside this pipeline the website will be build up inside a Docker container. This container is a copy of the stage and/or production environment. When the container is made, PHPUnit and Selenium will be run for tests. Afterwards when everything is a success, the website will be deployed to the specified environment.
(The production environment is not inside a Docker though, it is just a plain folder vhosts/customersite).