added filter for pushes on release branches

This commit is contained in:
jo-mut 2024-05-13 18:04:34 +02:00
parent 6495fc9dd1
commit a4e2f73e60
No known key found for this signature in database
GPG Key ID: 76AE8CD103294A70

View File

@ -11,13 +11,14 @@ function get<T>(key: string, def?: T): string | T {
export default {
debug: parseBool(get("DEBUG", "0")),
hostname: get("HOSTNAME", "127.0.0.1"),
hostname: get("HOSTNAME", "ghwf.infra.status.im"),
port: parseInt(get("PORT", "8080")),
signKey: get("SIGN_KEY", null),
maxWebhookRetries: parseInt(get("MAX_RETRIES", "3")),
maxWebhookRetryMs: parseInt(get("MAX_RETRY_MS", "30000")),
mainRedirect: get("MAIN_REDIRECT", null),
redisUrl: get("REDIS_URL", null),
allowBranches: get("ALLOW_BRANCHES", "release\/*"),
// set by deno deploy
deployId: get("DENO_DEPLOYMENT_ID", "<unknown>"),