Updated RoboFile.php

This commit is contained in:
Gregorio Chiko Putra 2018-08-03 16:25:20 +07:00
parent 48d88cf61b
commit 2fd196c694

View File

@ -11,10 +11,11 @@ class RoboFile extends \Robo\Tasks
$this->taskSshExec('192.168.1.17', 'root')
# change the directory
->remoteDir('/var/www')
->remoteDir('/var/www/laraland')
# clone the repository
->exec('git clone git@repo.waf.or.id:gregorio/laraland.git')
# update the repository
->exec('git pull origin develop')
->exec('git checkout origin/develop')
# install dependencies
->exec('composer install')