Skip to content

Instantly share code, notes, and snippets.

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