mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Run post update in github actions to ensure cache is built
This commit is contained in:
parent
8821c32ba2
commit
a1063f8249
1
.github/workflows/parallel.yml
vendored
1
.github/workflows/parallel.yml
vendored
@ -119,6 +119,7 @@ jobs:
|
|||||||
php artisan optimize
|
php artisan optimize
|
||||||
php artisan cache:clear
|
php artisan cache:clear
|
||||||
php artisan config:cache
|
php artisan config:cache
|
||||||
|
php artisan ninja:post-update
|
||||||
- name: Create DB and schemas
|
- name: Create DB and schemas
|
||||||
run: |
|
run: |
|
||||||
mkdir -p database
|
mkdir -p database
|
||||||
|
@ -13,11 +13,14 @@ namespace App\Console\Commands;
|
|||||||
|
|
||||||
use App\Jobs\Util\VersionCheck;
|
use App\Jobs\Util\VersionCheck;
|
||||||
use App\Utils\Ninja;
|
use App\Utils\Ninja;
|
||||||
|
use App\Utils\Traits\AppSetup;
|
||||||
use Illuminate\Console\Command;
|
use Illuminate\Console\Command;
|
||||||
use Illuminate\Support\Facades\Artisan;
|
use Illuminate\Support\Facades\Artisan;
|
||||||
|
|
||||||
class PostUpdate extends Command
|
class PostUpdate extends Command
|
||||||
{
|
{
|
||||||
|
use AppSetup;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The name and signature of the console command.
|
* The name and signature of the console command.
|
||||||
*
|
*
|
||||||
@ -83,6 +86,8 @@ class PostUpdate extends Command
|
|||||||
|
|
||||||
info('queue restarted');
|
info('queue restarted');
|
||||||
|
|
||||||
|
$this->buildCache(true);
|
||||||
|
|
||||||
VersionCheck::dispatch();
|
VersionCheck::dispatch();
|
||||||
|
|
||||||
info('Sent for version check');
|
info('Sent for version check');
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
* @license https://www.elastic.co/licensing/elastic-license
|
* @license https://www.elastic.co/licensing/elastic-license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace App\DataMapper;
|
namespace App\DataMapper\Schedule;
|
||||||
|
|
||||||
use App\Models\Client;
|
use App\Models\Client;
|
||||||
use stdClass;
|
use stdClass;
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
* @license https://www.elastic.co/licensing/elastic-license
|
* @license https://www.elastic.co/licensing/elastic-license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace App\Http\Requests\Task;
|
namespace App\Http\Requests\TaskScheduler;
|
||||||
|
|
||||||
use App\Http\Requests\Request;
|
use App\Http\Requests\Request;
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
* @license https://www.elastic.co/licensing/elastic-license
|
* @license https://www.elastic.co/licensing/elastic-license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Tests\Feature;
|
namespace Tests\Feature\Email;
|
||||||
|
|
||||||
use App\Services\Email\EmailObject;
|
use App\Services\Email\EmailObject;
|
||||||
use App\Services\Email\EmailService;
|
use App\Services\Email\EmailService;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user