Skip to content

Instantly share code, notes, and snippets.

@jmsche
Created February 20, 2014 21:42
Show Gist options
  • Save jmsche/9123833 to your computer and use it in GitHub Desktop.
Save jmsche/9123833 to your computer and use it in GitHub Desktop.
<?php
require 'deployer.phar';
task('prod_server', 'log in to prod server', function () {
connect('prod.ssh.test.com', 'user', 'password');
});
task('upload', 'upload files', function () {
upload(__DIR__, '/home/test');
});
task('prod', 'all to prod', ['prod_server', 'upload']);
start();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment