E
E
Elios2015-12-01 16:45:52
Continuous Integration
Elios, 2015-12-01 16:45:52

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

1 answer(s)
D
Dmitry Khomutov, 2018-04-23
@Corpsee

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"

2. Use one of the plugins for other deployment systems. For example Deployer , Deployer.org , Rocketeer , etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question