PHP code example of statikbe / deployer-tasks

1. Go to this page and download the library: Download statikbe/deployer-tasks 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/ */

    

statikbe / deployer-tasks example snippets



namespace Deployer;

configuration:
set('application', 'my-app');
set('repository', '[email protected]:statikbe/my-app.git');

host('production')
    ->set('hostname', 'prod.example.org')
    ->set('deploy_path', '/var/www/my-app');


namespace Deployer;



after('deploy', 'statik:voight');



set('basic_auth_user', 'htaccess_user');
set('basic_auth_password', 'htaccess_password');

host('production')->set(/* ... */);
bash
vendor/bin/dep --file=tests/fixtures/laravel-deploy.php list
vendor/bin/dep --file=tests/fixtures/craft-deploy.php list