From 9c6afc84af74349c88cf00b8596dea7d09d2325f Mon Sep 17 00:00:00 2001 From: Arkadii Yakovets Date: Mon, 9 Oct 2023 14:41:56 -0700 Subject: [PATCH] Fix SENTRY_DSN env name mismatch --- .github/workflows/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index 8c915b041..3b3e7af26 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -680,7 +680,7 @@ jobs: run: | echo "DATABASE_PASSWORD=${STAGING_DATABASE_PASSWORD}" >> $GITHUB_ENV echo "DJANGO_SECRET_KEY=${STAGING_DJANGO_SECRET_KEY}" >> $GITHUB_ENV - echo "SENTRY_DSN=${STAGING_SENTRY_DSN}" >> $GITHUB_ENV + echo "SENTRY_DSN=${SENTRY_DSN}" >> $GITHUB_ENV # Staging doesn't notify the engagementbot, so overwrite this to be blank. echo "SLACK_WEBHOOK_URL=" >> $GITHUB_ENV @@ -689,7 +689,7 @@ jobs: run: | echo "DATABASE_PASSWORD=${PRODUCTION_DATABASE_PASSWORD}" >> $GITHUB_ENV echo "DJANGO_SECRET_KEY=${PRODUCTION_DJANGO_SECRET_KEY}" >> $GITHUB_ENV - echo "SENTRY_DSN=${PRODUCTION_SENTRY_DSN}" >> $GITHUB_ENV + echo "SENTRY_DSN=${SENTRY_DSN}" >> $GITHUB_ENV echo "SLACK_WEBHOOK_URL=${SLACK_WEBHOOK_URL}" >> $GITHUB_ENV - name: Deploy @@ -743,7 +743,7 @@ jobs: run: | echo "DATABASE_PASSWORD=${STAGING_DATABASE_PASSWORD}" >> $GITHUB_ENV echo "DJANGO_SECRET_KEY=${STAGING_DJANGO_SECRET_KEY}" >> $GITHUB_ENV - echo "SENTRY_DSN=${STAGING_SENTRY_DSN}" >> $GITHUB_ENV + echo "SENTRY_DSN=${SENTRY_DSN}" >> $GITHUB_ENV # Staging doesn't notify the engagementbot, so overwrite this to be blank. echo "SLACK_WEBHOOK_URL=" >> $GITHUB_ENV @@ -752,7 +752,7 @@ jobs: run: | echo "DATABASE_PASSWORD=${PRODUCTION_DATABASE_PASSWORD}" >> $GITHUB_ENV echo "DJANGO_SECRET_KEY=${PRODUCTION_DJANGO_SECRET_KEY}" >> $GITHUB_ENV - echo "SENTRY_DSN=${PRODUCTION_SENTRY_DSN}" >> $GITHUB_ENV + echo "SENTRY_DSN=${SENTRY_DSN}" >> $GITHUB_ENV echo "SLACK_WEBHOOK_URL=${SLACK_WEBHOOK_URL}" >> $GITHUB_ENV - name: Deploy