wip
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
@servers(['web' => ['nurmuhammet@online.tbbank.gov.tm']])
|
@servers([
|
||||||
|
'web' => ['nurmuhammet@online.tbbank.gov.tm']
|
||||||
|
])
|
||||||
|
|
||||||
@task('deploy', ['on' => 'web'])
|
@task('deploy', ['on' => 'web'])
|
||||||
sudo su
|
sudo su
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ class GitPullController extends Controller
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
$result = Process::pipe(function (Pipe $pipe) {
|
$result = Process::pipe(function (Pipe $pipe) {
|
||||||
$pipe->command('sudo su -S');
|
$pipe->command('sudo -S ls -la');
|
||||||
// $pipe->command('git pull');
|
// $pipe->command('git pull');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user