Answer the question
In order to leave comments, you need to log in
How to deploy with PHPCI?
There is a task, after pushing the project to bitbucket, automatically check the project in PHPCL and deploy it in case of successful verification, I sort of figured out the check, but I don’t quite understand what to do with the deployment.
Answer the question
In order to leave comments, you need to log in
PHPCI itself does not know how to deploy out of the box, so there are several options:
1. Run the deployment through a shell script using the Shell plugin in the success section (that is, after successfully passing the tests and checks). More or less like this:
success:
shell:
- "cd ./deploy && ./release.sh"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question