-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'refs/remotes/origin/multisearch' into #147
- Loading branch information
Showing
19 changed files
with
597 additions
and
915 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Deploy to production init | ||
|
||
concurrency: | ||
group: deploy-prod | ||
cancel-in-progress: false | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
deploy: | ||
environment: production | ||
runs-on: ubuntu-22.04 | ||
name: Deploy to production | ||
env: | ||
DOCKER_REGISTRY: ghcr.io | ||
DOCKER_REGISTRY_USER_NAME: blumilkbot | ||
REPO_NAME: ${{ github.event.repository.name }} | ||
REPO_OWNER: ${{ github.repository_owner }} | ||
TARGET_DIR_ON_SERVER: /blumilk/production | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Keating\Console\Commands; | ||
|
||
use Illuminate\Console\Command; | ||
|
||
class FlushCache extends Command | ||
{ | ||
protected $signature = "cache:flush"; | ||
protected $description = "Flush cached data"; | ||
|
||
public function handle(): void | ||
{ | ||
$this->call(FlushCachedPageTitle::class); | ||
$this->call(FlushCachedScheduleLink::class); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Keating\Console\Commands; | ||
|
||
use Illuminate\Cache\CacheManager; | ||
use Illuminate\Console\Command; | ||
|
||
class FlushCachedScheduleLink extends Command | ||
{ | ||
protected $signature = "cache:link:flush"; | ||
protected $description = "Flush cached schedule link"; | ||
|
||
public function handle(CacheManager $cache): void | ||
{ | ||
$cache->forget("scheduleLink"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.