enrise/phpci-rocketeer

This package is abandoned and no longer maintained. No replacement package was suggested.

A PHPCI plugin that allows you to deploy your code with Rocketeer

v0.1.0 2015-07-10 20:56 UTC

This package is not auto-updated.

Last update: 2022-10-15 07:10:54 UTC


README

This is an old repository that is no longer used or maintained. We advice to no longer use this repository.

Original README can be found below:

PHPCI-Rocketeer

A rocketeer plugin for PHPCI so PHPCI can deploy your code after a succesful build.

The commits on GitHub pull-requests will not be deployed, only commits merged into the main repository will be deployed if the branch is matching one branches in the config.

Install the plugin

  1. Navigate to your PHPCI root directory and run composer require enrise/phpci-rocketeer
  2. Update your phpci.yml in the project you want to deploy with

Make sure that

  1. The rocketeer shell command is globally accessable on your PHPCI server (see how)
  2. The php-ci-cronjob-server-user can actually can run the rocketeer deploy command

PHPCI config

rocketeer:
    deploy:
        <git_branch>:
            connection: <connection_name>
            stage: <stage_name>

example:

complete:
    rocketeer:
        deploy:
            master:
                connection: phpci
                stage: production
            develop:
                connection: phpci
                stage: develop