(bucket: keyof ManagedFileGroups, item?: ManagedPathItem)
| 423 | const siteId = `${site.id}` |
| 424 | |
| 425 | const push = (bucket: keyof ManagedFileGroups, item?: ManagedPathItem) => { |
| 426 | if (!item) { |
| 427 | return |
| 428 | } |
| 429 | files[bucket].push(item) |
| 430 | } |
| 431 | |
| 432 | push('env', makePathItem('.env', site.envFile)) |
| 433 | push('config', makePathItem('nginx-vhost', join(baseDir, 'vhost', 'nginx', `${siteId}.conf`))) |
no outgoing calls
no test coverage detected