@servers(['production' => 'cloud.sherlayer.com', 'staging' => 'dev1.sherlayer.com']) @task('install-staging', ['on' => 'staging']) cd /var/www/dev1.sherlayer.com ls -lah @endtask @task('deploy-staging', ['on' => 'staging']) cd /var/www/dev1.sherlayer.com ./deploy.sh staging @endtask @task('install-production', ['on' => 'production']) cd /var/www/cloud.sherlayer.com ls -lah @endtask @task('deploy-production', ['on' => 'production']) cd /var/www/cloud.sherlayer.com ./deploy.sh production @endtask