From 1c680c3ef55b96c8f69104d80e7da5d3b3556223 Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Mon, 28 Aug 2023 10:35:51 +0200 Subject: [PATCH] :green_heart: Add required env to github workflows --- .github/workflows/clean-database.yml | 3 +++ .github/workflows/send-limit-email-alerts.yml | 3 +++ .github/workflows/send-total-results-digest.yml | 3 +++ 3 files changed, 9 insertions(+) diff --git a/.github/workflows/clean-database.yml b/.github/workflows/clean-database.yml index 2ddbb9695..efff51d7d 100644 --- a/.github/workflows/clean-database.yml +++ b/.github/workflows/clean-database.yml @@ -12,6 +12,9 @@ jobs: working-directory: ./packages/scripts env: DATABASE_URL: '${{ secrets.DATABASE_URL }}' + ENCRYPTION_SECRET: '${{ secrets.ENCRYPTION_SECRET }}' + NEXTAUTH_URL: 'http://localhost:3000' + NEXT_PUBLIC_VIEWER_URL: 'http://localhost:3001' steps: - uses: actions/checkout@v2 - uses: pnpm/action-setup@v2.2.2 diff --git a/.github/workflows/send-limit-email-alerts.yml b/.github/workflows/send-limit-email-alerts.yml index c659a1082..8118d3218 100644 --- a/.github/workflows/send-limit-email-alerts.yml +++ b/.github/workflows/send-limit-email-alerts.yml @@ -12,6 +12,9 @@ jobs: working-directory: ./packages/scripts env: DATABASE_URL: '${{ secrets.DATABASE_URL }}' + ENCRYPTION_SECRET: '${{ secrets.ENCRYPTION_SECRET }}' + NEXTAUTH_URL: 'http://localhost:3000' + NEXT_PUBLIC_VIEWER_URL: 'http://localhost:3001' TELEMETRY_WEBHOOK_URL: '${{ secrets.TELEMETRY_WEBHOOK_URL }}' TELEMETRY_WEBHOOK_BEARER_TOKEN: '${{ secrets.TELEMETRY_WEBHOOK_BEARER_TOKEN }}' SMTP_USERNAME: '${{ secrets.SMTP_USERNAME }}' diff --git a/.github/workflows/send-total-results-digest.yml b/.github/workflows/send-total-results-digest.yml index d01525376..7c262d298 100644 --- a/.github/workflows/send-total-results-digest.yml +++ b/.github/workflows/send-total-results-digest.yml @@ -12,6 +12,9 @@ jobs: working-directory: ./packages/scripts env: DATABASE_URL: '${{ secrets.DATABASE_URL }}' + ENCRYPTION_SECRET: '${{ secrets.ENCRYPTION_SECRET }}' + NEXTAUTH_URL: 'http://localhost:3000' + NEXT_PUBLIC_VIEWER_URL: 'http://localhost:3001' TELEMETRY_WEBHOOK_URL: '${{ secrets.TELEMETRY_WEBHOOK_URL }}' TELEMETRY_WEBHOOK_BEARER_TOKEN: '${{ secrets.TELEMETRY_WEBHOOK_BEARER_TOKEN }}' steps: