Skip to content

Latest commit

 

History

History

wp

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

WordPress Deployer Config

Most WordPress-specific configuration is provided by the WordPress Recipe, which must be imported after your initial configuration is defined. That recipe imports the Main Config, which will fill in any config gaps. Please review the files above to identify variables you'll be able to override if desired.

Standard WordPress Configuration

You will need to define a little configuration for your project. Please review the main config file for the list of default variable names & values.

The following will configure Deployer to deploy [email protected]:foo/wp to foo.dev1.example, foo.staging1.example & production1.example. You will be able to control all aspects of those values.

config:
    namespace: foo
    repository_user: bar
    repository_domain: 'repository1.example'
    dev_domain: 'dev1.example'
    staging_domain: 'staging1.example'
    production_domain: 'production1.example'
    upload_dir: 'docroot/app/uploads'

import:
    - 'vendor/unleashedtech/deployer-recipes/cms/wp/5.php'

Many defaults are provided. You will need to define a few of them. Your configuration may be as simple as:

config:
    namespace: foo
    repository_domain: 'repository1.example'
    staging_domain: 'staging1.example'

import:
    - 'vendor/unleashedtech/deployer-recipes/cms/wp/5.php'