fix: do not update next channel all the time
This commit is contained in:
parent
63accc552a
commit
cb0939acf3
@ -26,7 +26,6 @@ public function __invoke(bool $force)
|
|||||||
ray('latest version:' . $this->latest_version . " current version: " . $this->current_version . ' force: ' . $force);
|
ray('latest version:' . $this->latest_version . " current version: " . $this->current_version . ' force: ' . $force);
|
||||||
if ($settings->next_channel) {
|
if ($settings->next_channel) {
|
||||||
ray('next channel enabled');
|
ray('next channel enabled');
|
||||||
$force = true;
|
|
||||||
$this->latest_version = 'next';
|
$this->latest_version = 'next';
|
||||||
}
|
}
|
||||||
if ($force) {
|
if ($force) {
|
||||||
|
24
scripts/run
24
scripts/run
@ -25,35 +25,35 @@ function sync:bunny {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function queue {
|
function queue {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan queue:listen
|
bash spin exec -u webuser coolify php artisan queue:listen
|
||||||
}
|
}
|
||||||
|
|
||||||
function horizon {
|
function horizon {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan horizon -vvv
|
bash spin exec -u webuser coolify php artisan horizon -vvv
|
||||||
}
|
}
|
||||||
|
|
||||||
function schedule {
|
function schedule {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan schedule:work
|
bash spin exec -u webuser coolify php artisan schedule:work
|
||||||
}
|
}
|
||||||
|
|
||||||
function schedule:run {
|
function schedule:run {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan schedule:run
|
bash spin exec -u webuser coolify php artisan schedule:run
|
||||||
}
|
}
|
||||||
|
|
||||||
function db:reset {
|
function db:reset {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --seed
|
bash spin exec -u webuser coolify php artisan migrate:fresh --seed
|
||||||
}
|
}
|
||||||
|
|
||||||
function db {
|
function db {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan db
|
bash spin exec -u webuser coolify php artisan db
|
||||||
}
|
}
|
||||||
|
|
||||||
function db:migrate {
|
function db:migrate {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan migrate
|
bash spin exec -u webuser coolify php artisan migrate
|
||||||
}
|
}
|
||||||
|
|
||||||
function db:reset-prod {
|
function db:reset-prod {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan migrate:fresh --force --seed --seeder=ProductionSeeder ||
|
bash spin exec -u webuser coolify php artisan migrate:fresh --force --seed --seeder=ProductionSeeder ||
|
||||||
php artisan migrate:fresh --force --seed --seeder=ProductionSeeder
|
php artisan migrate:fresh --force --seed --seeder=ProductionSeeder
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -62,11 +62,11 @@ function mfs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function coolify {
|
function coolify {
|
||||||
bash vendor/bin/spin exec -u webuser coolify bash
|
bash spin exec -u webuser coolify bash
|
||||||
}
|
}
|
||||||
|
|
||||||
function coolify:root {
|
function coolify:root {
|
||||||
bash vendor/bin/spin exec coolify bash
|
bash spin exec coolify bash
|
||||||
}
|
}
|
||||||
function coolify:proxy {
|
function coolify:proxy {
|
||||||
docker exec -ti coolify-proxy sh
|
docker exec -ti coolify-proxy sh
|
||||||
@ -77,11 +77,11 @@ function redis {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function vite {
|
function vite {
|
||||||
bash vendor/bin/spin exec vite bash
|
bash spin exec vite bash
|
||||||
}
|
}
|
||||||
|
|
||||||
function tinker {
|
function tinker {
|
||||||
bash vendor/bin/spin exec -u webuser coolify php artisan tinker
|
bash spin exec -u webuser coolify php artisan tinker
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user