mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 18:26:20 +01:00
Update check-env for CI build.
This commit is contained in:
parent
2259d4fae5
commit
9d4808f5ef
@ -18,7 +18,9 @@ function checkMissing(vars) {
|
||||
}
|
||||
}
|
||||
|
||||
checkMissing(['DATABASE_URL']);
|
||||
if (!process.env.SKIP_DB_CHECK && !process.env.DATABASE_TYPE) {
|
||||
checkMissing(['DATABASE_URL']);
|
||||
}
|
||||
|
||||
if (process.env.CLICKHOUSE_URL) {
|
||||
checkMissing(['CA_CERT', 'CLIENT_CERT', 'CLIENT_KEY', 'KAFKA_BROKER', 'KAFKA_URL', 'REDIS_URL']);
|
||||
|
Loading…
Reference in New Issue
Block a user