×

Error message

Notice: Undefined index: localized_options in menu_navigation_links() (line 1873 of /home/zen/github/drupal/production/includes/menu.inc).

.zenci.yml structure and variables

When you write a .zenci.yml file, you can use next variables:
{repo_name} - repository name
{repo_owner} - repository owner
{branch} - branch name
{pr_number} - Pull Request number
{home} - synonym to /home/{username}
{deploy_dir} - directory to upload your code
{server} - target server
{username} - target user


There is config example:
deploy:
  production:
    server: my-server.com
    username: test
    dir: '{home}/github/drupal/{branch}'
    env_vars:
      docroot: '{home}/www'
      domain: mywebsite.com
      database_name: test
      database_user: test
    scripts:
      init: '{deploy_dir}/scripts/drupal_install.sh'