Ejemplo n.º 1
0
 public function actionDefault($password)
 {
     if ($password === $this->context->parameters['webhook']['password']) {
         $this->builder->build();
     }
     $this->terminate();
 }
Ejemplo n.º 2
0
 public function handleBuild()
 {
     try {
         $this->builder->build();
         $this->flashMessage('Packages json built.', 'success');
     } catch (RuntimeException $e) {
         $this->flashMessage('There was an error building packages.json: ' . $e->getMessage(), 'danger');
     }
     $this->redirect('this');
 }