diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8a55e0c..8ca9d2f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,6 +1,7 @@ name: Documentation on: + release: push: branches: - main diff --git a/config/public.php b/config/public.php index d47b922..0eb3cab 100644 --- a/config/public.php +++ b/config/public.php @@ -207,7 +207,7 @@ 'priority' => (int) env('TRANSLATION_DEEPL_PRIORITY', 2), 'credentials' => [ - 'key' => env('TRANSLATION_DEEPL_KEY'), + 'key' => (string) env('TRANSLATION_DEEPL_KEY'), ], ], @@ -218,8 +218,8 @@ 'priority' => (int) env('TRANSLATION_YANDEX_PRIORITY', 3), 'credentials' => [ - 'key' => env('TRANSLATION_YANDEX_KEY'), - 'folder' => env('TRANSLATION_FOLDER_ID'), + 'key' => (string) env('TRANSLATION_YANDEX_KEY'), + 'folder' => (string) env('TRANSLATION_YANDEX_FOLDER_ID'), ], ], ],