Skip to content

Configuration

After publishing the Evolve configuration file you change all configuration in config/evolve.php.

deployment

target

Defines the default target folder name on your server.

  • Type: String
  • Default: DEPLOYMENT_TARGET

allowed-targets

An array of allowed targets to deploy to.

  • Type: Array<String>
  • Default: []

keep-releases

Define how many releases are being stored on the server.

  • Type: Integer
  • Default: 3

server

Configure your server connection.

user

  • Type: String
  • Default: DEPLOYMENT_USER

host

  • Type: String
  • Default: DEPLOYMENT_HOST

path

  • Type: String
  • Default: DEPLOYMENT_PATH

hooks

Define custom tasks to run before and after the deployment.

before

  • Type: Array<String>
  • Default: []

after

  • Type: Array<String>
  • Default: []