Skip to content

Commit

Permalink
feat(providers): detect FIREBASE_APP_HOSTING ci (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 authored Nov 8, 2024
1 parent 6cbedab commit aedaeed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export type ProviderName =
| "zeabur"
| "codesphere"
| "railway"
| "deno-deploy";
| "deno-deploy"
| "firebase_app_hosting";

type InternalProvider = [
providerName: Uppercase<ProviderName>,
Expand Down Expand Up @@ -107,6 +108,7 @@ const providers: InternalProvider[] = [
["RAILWAY", "RAILWAY_PROJECT_ID"],
["RAILWAY", "RAILWAY_SERVICE_ID"],
["DENO-DEPLOY", "DENO_DEPLOYMENT_ID"],
["FIREBASE_APP_HOSTING", "FIREBASE_APP_HOSTING", { ci: true }],
];

export type ProviderInfo = {
Expand Down

0 comments on commit aedaeed

Please sign in to comment.