From 2fd196c69496f8f745d9695a72fbb5d6c1c376db Mon Sep 17 00:00:00 2001 From: Gregorio Chiko Putra Date: Fri, 3 Aug 2018 16:25:20 +0700 Subject: [PATCH] Updated RoboFile.php --- RoboFile.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/RoboFile.php b/RoboFile.php index 9f9284a..fe0780a 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -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')