-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlasso.php
More file actions
116 lines (96 loc) · 3.35 KB
/
Copy pathlasso.php
File metadata and controls
116 lines (96 loc) · 3.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?php
declare(strict_types=1);
return [
'compiler' => [
/*
* Configure which command Lasso should run in its deployment
* phase. This template uses Vite (`npm run build`).
*/
'script' => 'npm run build',
/*
* Configure the amount of time (in seconds) the compiler
* should run before it times out. By default, this is set
* to 600 seconds (10 minutes).
*/
'timeout' => 600,
/*
* Lasso will attempt to display the compilation progress
* from webpack. If your progress bar isn't incrementing, it's
* likely you have the `--no-progress` flag on your script
* (e.g npm run production). Change it to `--progress`.
*
* Available progress options are:
*
* - 'all': Display everything from the compiler.
* - 'progress': Display compilation progress.
* - 'disable': Disable the progress.
*/
'output' => 'progress',
/*
* If there are any directories/files you would like to Lasso to
* exclude when uploading to the Filesystem, specify them below.
*/
'excluded_files' => [],
'excluded_directories' => [],
],
'storage' => [
/*
* Specify the filesystem Lasso should use to store
* and retrieve its files. Uses the same `s3` disk as the app.
*/
'disk' => 's3',
/*
* Specify the directory Lasso should store all of its
* files within.
*
* WARNING: If you have multiple projects all using Lasso,
* make sure this is unique for each project.
*/
'upload_to' => 'lasso',
/*
* Lasso can also create a separate directory containing
* the environment the files will be stored in. Specify this
* here.
*/
'environment' => env('LASSO_ENV', null),
/*
* Lasso can add a prefix to the bundle file, in order to store
* multiple bundle files in the same filesystem for different
* environments
*/
'prefix' => env('LASSO_PREFIX', ''),
/*
* Lasso will automatically version the assets. This is useful if you
* suddenly need to roll back a deployment and use an older version
* of built files. You can set the maximum amount of files stored here.
*/
'max_bundles' => 5,
],
/*
* Lasso can also trigger Webhooks after its commands have been
* successfully executed. You may specify URLs that Lasso will POST
* to, for each of the commands.
*/
'webhooks' => [
/*
* Specify which webhooks should be triggered after a successful
* "php artisan lasso:publish" command execution.
*/
'publish' => array_values(array_filter([
env('LARAVEL_CLOUD_DEPLOY_WEBHOOK_URL'),
])),
/*
* Specify which webhooks should be triggered after a successful
* "php artisan lasso:pull" command execution.
*/
'pull' => [
//
],
],
/*
* Where are your assets stored? Most of the time, they will
* be stored within the /public directory in Laravel - but if
* you have changed this - please specify it below.
*/
'public_path' => public_path(),
];