koterle/envoy-oven

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

'Zero-downtime' deployments with symlinks and rollbacks.

2.0.0 2019-12-08 11:50 UTC

This package is auto-updated.

Last update: 2023-06-08 19:50:16 UTC


README

"Zero-downtime" deployments with symlinks and rollbacks. Supports various scenarios for deploying Wordpress (Bedrock), Laravel and static html projects.

Installation

composer global require laravel/envoy

Include with composer

composer require koterle/envoy-oven

or you can just copy the Envoy.blade.php and the config in the root of your project.

Setup

Copy the sample config sample to root of your project.

cp vendor/koterle/envoy-oven/envoy.config.sample.php envoy.config.php

Most config options have a sensible default. The required options are:

'repository' => '',
'deploy_tactic' => '',
'deploy_server' => '',
'deploy_path' => '',

Check out the example config file for more information.

Usage

Deployment

If installed with composer run using:

envoy run deploy --path=./vendor/koterle/envoy-oven/Envoy.blade.php

If copied to root, run using:

envoy run deploy
Options
    --project        JSON encoded array with the project configuration
    --branch         Git branch (defaults to "master")

Rollback

Rolls back to the previous release

envoy run rollback --path=./vendor/koterle/envoy-oven/Envoy.blade.php

Changes

v2

  • Simplified configuration
  • Added setup/init tasks
  • We assume server has NVM installed for handling different node versions

Credits

License

This project is licensed under the MIT License.