Files
github-action-server-chan/RoboFile.php
2023-02-04 17:31:24 +08:00

14 lines
342 B
PHP

<?php
/**
* This is project's console commands configuration for Robo task runner.
*
* @see https://robo.li/
*/
class RoboFile extends \Robo\Tasks
{
// define public methods as commands
public function publish()
{
$this->_exec("yarn build && yarn package && git add . && git commit -m 'publish' && git push ");
}
}