Skip to content

Commit fbe49f7

Browse files
author
maljuraysh
committed
bug fix in the command config file
1 parent c590c19 commit fbe49f7

File tree

2 files changed

+42
-38
lines changed

2 files changed

+42
-38
lines changed

README.md

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -25,25 +25,27 @@ This is the contents of the published config file:
2525

2626
```php
2727
return [
28-
[
29-
"type" => "console",
30-
"command" => "git pull"
31-
],
32-
[
33-
"type" => "console",
34-
"command" => "composer install --optimize-autoloader",
35-
],
36-
[
37-
"type" => "artisan",
38-
"command" => "migrate",
39-
"values" => [
40-
"--force" => true
41-
]
42-
],
43-
[
44-
"type" => "artisan",
45-
"command" => "cache:clear",
46-
],
28+
"commands" => [
29+
[
30+
"type" => "console",
31+
"command" => "git pull"
32+
],
33+
[
34+
"type" => "console",
35+
"command" => "composer install --optimize-autoloader",
36+
],
37+
[
38+
"type" => "artisan",
39+
"command" => "migrate",
40+
"values" => [
41+
"--force" => true
42+
]
43+
],
44+
[
45+
"type" => "artisan",
46+
"command" => "cache:clear",
47+
],
48+
]
4749
];
4850
```
4951

config/deployment-script.php

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
11
<?php
22
// config for BitcodeSA/DeploymentScript
33
return [
4-
[
5-
"type" => "console",
6-
"command" => "git pull"
7-
],
8-
[
9-
"type" => "console",
10-
"command" => "composer install --optimize-autoloader",
11-
],
12-
[
13-
"type" => "artisan",
14-
"command" => "migrate",
15-
"values" => [
16-
"--force" => true
17-
]
18-
],
19-
[
20-
"type" => "artisan",
21-
"command" => "cache:clear",
22-
],
4+
"commands" => [
5+
[
6+
"type" => "console",
7+
"command" => "git pull"
8+
],
9+
[
10+
"type" => "console",
11+
"command" => "composer install --optimize-autoloader",
12+
],
13+
[
14+
"type" => "artisan",
15+
"command" => "migrate",
16+
"values" => [
17+
"--force" => true
18+
]
19+
],
20+
[
21+
"type" => "artisan",
22+
"command" => "cache:clear",
23+
],
24+
]
2325
];

0 commit comments

Comments
 (0)