PHP code example of keyagency / deployer-recipes

1. Go to this page and download the library: Download keyagency/deployer-recipes library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

keyagency / deployer-recipes example snippets


namespace Deployer;

>set('deploy_path', '/var/www/example');

  add('key_sync_content', ['resources/navigation/']);
  







set('key_october_themes', ['default', 'second-theme']);



set('key_bedrock_theme', 'my-theme');

after('deploy:vendors', 'key:build:resources');
before('deploy:publish', 'key:install:languages');

namespace Deployer;

 '<PLATFORM>');