You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**api_key***(required)*: Tideways API key for authentication.
17
+
-**version***(required)*: A version identifier for this release. Can be a version number, a commit hash etc. (Default is set to git log -n 1 --format="%h".)
18
+
-**environment***(optional)*: The environment you're deploying to. Defaults to 'production'.
19
+
-**service***(optional)*: The service name for the release. Defaults to 'web'.
20
+
-**compare_after_minutes***(optional)*: Time in minutes to compare performance before/after release. Defaults to 90.
21
+
-**project***(optional)*: Project name/path for the description field.
22
+
-**description***(optional)*: Custom description for the release.
23
+
-**tideways_server***(optional)*: Tideways server URL. Defaults to 'https://app.tideways.io'.
24
+
-**git_version_command***(optional)*: The command that retrieves the git version information. Defaults to 'git log -n 1 --format="%h"'.
25
+
```php
26
+
deploy.php
27
+
set('tideways', [
28
+
'api_key' => 'your-api-key',
29
+
'version' => '',
30
+
'environment' => 'production',
31
+
'service' => 'web',
32
+
'compare_after_minutes' => 90,
33
+
]);
34
+
```
35
+
### Suggested Usage
36
+
Since you should only notify Tideways of a successful deployment, the deploy:tideways task should be executed right at the end.
0 commit comments