Skip to content

Commit

Permalink
Merge pull request #30 from craftcms/feature/build-command
Browse files Browse the repository at this point in the history
Build command
  • Loading branch information
timkelty authored Feb 28, 2024
2 parents 6b7ee19 + 6386d2a commit 4904812
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/cli/controllers/BuildController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

namespace craft\cloud\cli\controllers;

use craft\console\Controller;
use yii\console\ExitCode;

class BuildController extends Controller
{
public function actionIndex(): int
{
$this->run('/cloud/asset-bundles/publish');

return ExitCode::OK;
}
}

0 comments on commit 4904812

Please sign in to comment.