Deploy Laravel for
GitLab CI/CD
View on GitHub
Step 3: Set the PHP version
The .gitlab-ci.yml
workflow file uses a Docker image to install your composer dependencies.
Make sure the PHP version of this Docker image matches the PHP version on your server.
The PHP version of the Docker image is in this line: lorisleiva/laravel-docker:8.3
.
If your server uses a different PHP version, change all occurrences of the version of the Docker image.