diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..cdd1684 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,17 @@ +name: Release + +on: + push: + branches: [main] + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@v4 + with: + release-type: php diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index fc68811..2af0594 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -45,10 +45,6 @@ final class ServiceProvider extends AddonServiceProvider public function bootAddon(): void { - $this->publishes([ - __DIR__.'/../config/ai-entry-embeddings.php' => config_path('ai-entry-embeddings.php'), - ], 'config'); - $this->loadTranslationsFrom(__DIR__.'/../lang', 'ai-entry-embeddings'); $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); $this->bootNav(); $this->bootPermissions(); @@ -58,8 +54,6 @@ public function register(): void { parent::register(); - $this->mergeConfigFrom(__DIR__.'/../config/ai-entry-embeddings.php', 'ai-entry-embeddings'); - $this->app->singleton(FieldExtractorResolver::class); $this->app->singleton(ContentExtractionPipeline::class); $this->app->bind(EntryEmbeddingServiceInterface::class, EntryEmbeddingService::class);