diff --git a/.github/workflows/check-and-report-chats-usage.yml b/.github/workflows/check-and-report-chats-usage.yml index 8d2bc8761..1ec807e84 100644 --- a/.github/workflows/check-and-report-chats-usage.yml +++ b/.github/workflows/check-and-report-chats-usage.yml @@ -15,8 +15,8 @@ jobs: ENCRYPTION_SECRET: '${{ secrets.ENCRYPTION_SECRET }}' NEXTAUTH_URL: '${{ secrets.NEXTAUTH_URL }}' NEXT_PUBLIC_VIEWER_URL: '${{ secrets.NEXT_PUBLIC_VIEWER_URL }}' - TELEMETRY_WEBHOOK_URL: '${{ secrets.TELEMETRY_WEBHOOK_URL }}' - TELEMETRY_WEBHOOK_BEARER_TOKEN: '${{ secrets.TELEMETRY_WEBHOOK_BEARER_TOKEN }}' + NEXT_PUBLIC_POSTHOG_KEY: '${{ secrets.NEXT_PUBLIC_POSTHOG_KEY }}' + NEXT_PUBLIC_POSTHOG_HOST: '${{ secrets.NEXT_PUBLIC_POSTHOG_HOST }}' SMTP_USERNAME: '${{ secrets.SMTP_USERNAME }}' SMTP_PASSWORD: '${{ secrets.SMTP_PASSWORD }}' SMTP_HOST: '${{ secrets.SMTP_HOST }}' diff --git a/apps/docs/self-hosting/configuration.mdx b/apps/docs/self-hosting/configuration.mdx index 72827b68f..da9cb1d3a 100644 --- a/apps/docs/self-hosting/configuration.mdx +++ b/apps/docs/self-hosting/configuration.mdx @@ -297,10 +297,10 @@ The related environment variables are listed here but you are probably not inter -| Parameter | Default | Description | -| ------------------------------ | ------- | --------------------------------------------------------------------------------------------------------------- | -| TELEMETRY_WEBHOOK_URL | | Webhook URL called whenever a new telemetry event is captured. See this file that lists all the possible events | -| TELEMETRY_WEBHOOK_BEARER_TOKEN | | Bearer token to add if the request needs to be authenticated | +| Parameter | Default | Description | +| ------------------------ | ------- | ------------------------------------------------------- | +| MESSAGE_WEBHOOK_URL | | Webhook URL called to receive important system messages | +| USER_CREATED_WEBHOOK_URL | | Webhook URL called whenever a new user is created | diff --git a/packages/env/env.ts b/packages/env/env.ts index fc759e648..c4fbd2b50 100644 --- a/packages/env/env.ts +++ b/packages/env/env.ts @@ -318,8 +318,6 @@ const sentryEnv = { const telemetryEnv = { server: { - TELEMETRY_WEBHOOK_URL: z.string().url().optional(), - TELEMETRY_WEBHOOK_BEARER_TOKEN: z.string().min(1).optional(), MESSAGE_WEBHOOK_URL: z.string().url().optional(), USER_CREATED_WEBHOOK_URL: z.string().url().optional(), },