Skip to content

Instantly share code, notes, and snippets.

View max4kaps's full-sized avatar

Max Kapshtyk max4kaps

View GitHub Profile
@max4kaps
max4kaps / deploy.php
Created August 11, 2017 14:48
Example of deploy.php for deployer - Symfony 3.3 with github.com tagging on each deployment
<?php
/* (c) Max Kapshtyk <max@4bis.nl>
*
* Feel free to use for own purposes, don't forget to setup your information.
* For the full copyright and license information, please view the LICENSE on our website 4bis.nl/license
*/
namespace Deployer;
use function Deployer\{host, task, run, set, get, add, before, after, upload, writeln};
require 'vendor/deployer/deployer/recipe/symfony3.php';