Configured .gitlab-ci.yml, Dockerfile, and RoboFile.php
This commit is contained in:
17
RoboFile.php
Normal file
17
RoboFile.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* This is project's console commands configuration for Robo task runner.
|
||||
*
|
||||
* @see http://robo.li/
|
||||
*/
|
||||
class RoboFile extends \Robo\Tasks
|
||||
{
|
||||
public function testServer()
|
||||
{
|
||||
$this->taskSshExec('192.168.1.17', 'root')
|
||||
->remoteDir('/var/www')
|
||||
->exec('echo hello')
|
||||
->exec('ls -al')
|
||||
->run();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user