Snips/deploy.php

17 lines
352 B
PHP

<?php
namespace Deployer;
require_once 'deploy/symfony.php';
set('application', 'snips');
set('repository', 'git@git.loken.nl:ardent/Snips.git');
host('snips.loken.nl')
->setRemoteUser('tim')
->set('branch', function () {
return input()->getOption('branch') ?: 'master';
})
->set('deploy_path', '/var/www/snips.loken.nl')
;