Skip to content

Commit 4890bb9

Browse files
committed
Tag config publish
1 parent d51db3e commit 4890bb9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ php artisan migrate
6262
Optionally, you can publish the configuration file:
6363

6464
```bash
65-
php artisan vendor:publish --provider="DirectoryTree\Metrics\MetricServiceProvider"
65+
php artisan vendor:publish --tag="metrics-config"
6666
```
6767

6868
This will create a `config/metrics.php` file where you can configure queueing behavior:

src/MetricServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ public function boot(): void
3939

4040
$this->publishes([
4141
__DIR__.'/../config/metrics.php' => $this->app['path.config'].DIRECTORY_SEPARATOR.'metrics.php',
42-
]);
42+
], 'metrics-config');
4343
}
4444
}

0 commit comments

Comments
 (0)