From 840f04f330c0444b3ce58f99e8506e164dec9417 Mon Sep 17 00:00:00 2001 From: Haffi Mazhar Date: Mon, 16 Oct 2023 20:53:54 +0100 Subject: [PATCH] update ci secrets --- .github/workflows/deploy-prod.yaml | 2 +- .github/workflows/deploy-test.yaml | 2 +- src/env.d.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-prod.yaml b/.github/workflows/deploy-prod.yaml index d1b8e2d..e360065 100644 --- a/.github/workflows/deploy-prod.yaml +++ b/.github/workflows/deploy-prod.yaml @@ -14,7 +14,7 @@ jobs: PROD_DATABASE_URL: ${{ secrets.PROD_DATABASE_URL }} ENV: prod SQS_QUEUE_URL: ${{ secrets.PROD_SQS_QUEUE_URL }} - RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }} + RESEND_API_KEY: ${{ secrets.PROD_RESEND_API_KEY }} steps: - name: Check out code uses: actions/checkout@v4 diff --git a/.github/workflows/deploy-test.yaml b/.github/workflows/deploy-test.yaml index 9e504bc..4645dd6 100644 --- a/.github/workflows/deploy-test.yaml +++ b/.github/workflows/deploy-test.yaml @@ -13,7 +13,7 @@ jobs: DEV_DATABASE_URL: ${{ secrets.DEV_DATABASE_URL }} ENV: dev SQS_QUEUE_URL: ${{ secrets.DEV_SQS_QUEUE_URL }} - RESEND_API_KEY: ${{ secrets.RESEND_API_KEY }} + RESEND_API_KEY: ${{ secrets.DEV_RESEND_API_KEY }} steps: - name: Check out code uses: actions/checkout@v4 diff --git a/src/env.d.ts b/src/env.d.ts index ee5491c..86df413 100644 --- a/src/env.d.ts +++ b/src/env.d.ts @@ -4,7 +4,6 @@ interface ImportMetaEnv { // readonly API_URL: string; readonly ENV: string; - readonly DATABASE_URL: string; readonly GOOGLE_CLIENT_ID: string; readonly GOOGLE_CLIENT_SECRET: string; readonly GITHUB_CLIENT_ID: string;