From c5bf766938657e9399f22be862b374d35db15dde Mon Sep 17 00:00:00 2001 From: David Bomba Date: Sun, 3 Apr 2022 13:03:56 +1000 Subject: [PATCH] Fixes for stripe gateways --- .github/workflows/release.yml | 1 + ...03_29_014025_reverse_apple_domain_for_hosted.php | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef67001aca93..31e5e8a4e0b1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,6 +35,7 @@ jobs: php artisan key:generate php artisan optimize php artisan storage:link + php artisan livewire:publish sudo php artisan cache:clear sudo find ./vendor/bin/ -type f -exec chmod +x {} \; sudo find ./ -type d -exec chmod 755 {} \; diff --git a/database/migrations/2022_03_29_014025_reverse_apple_domain_for_hosted.php b/database/migrations/2022_03_29_014025_reverse_apple_domain_for_hosted.php index 684ed4cb9c34..509eb42065f0 100644 --- a/database/migrations/2022_03_29_014025_reverse_apple_domain_for_hosted.php +++ b/database/migrations/2022_03_29_014025_reverse_apple_domain_for_hosted.php @@ -40,6 +40,19 @@ class ReverseAppleDomainForHosted extends Migration $chf->symbol = 'CHF'; $chf->save(); } + + if(Ninja::isSelfHost()) + { + + $gateway = Gateway::find(20); + + if($gateway) + { + $gateway->fields = '{"publishableKey":"","apiKey":"","appleDomainVerification":""}'; + $gateway->save(); + } + + } } /**