From 2fa1a5e028c0dd7459d934f1ca0f92a887899b43 Mon Sep 17 00:00:00 2001 From: Bee Webb Date: Thu, 10 Oct 2024 15:56:56 +0000 Subject: [PATCH] DO NOT MERGE: temporarily deploy dev site with prod azure account --- .github/workflows/workflow.yml | 6 +++--- iati/settings/base.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 74a8af30..254873e8 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -199,9 +199,9 @@ jobs: -e DATABASE_PASS='${{ secrets.PROD_DATABASE_PASS }}' \ -e DATABASE_HOST='${{ secrets.PROD_DATABASE_HOST }}' \ -e DATABASE_PORT='${{ secrets.PROD_DATABASE_PORT }}' \ - -e AZURE_ACCOUNT_NAME='${{ secrets.DEV_AZURE_ACCOUNT_NAME }}' \ - -e AZURE_ACCOUNT_KEY='${{ secrets.DEV_AZURE_ACCOUNT_KEY }}' \ - -e AZURE_CONTAINER='${{ secrets.DEV_AZURE_CONTAINER }}' \ + -e AZURE_ACCOUNT_NAME='${{ secrets.PROD_AZURE_ACCOUNT_NAME }}' \ + -e AZURE_ACCOUNT_KEY='${{ secrets.PROD_AZURE_ACCOUNT_KEY }}' \ + -e AZURE_CONTAINER='${{ secrets.PROD_AZURE_CONTAINER }}' \ -e ZENDESK_CAPTCHA_FIELD_ID='${{ secrets.ZENDESK_CAPTCHA_FIELD_ID }}' \ -e ZENDESK_SUSPICIOUS_FIELD_ID='${{ secrets.ZENDESK_SUSPICIOUS_FIELD_ID }}' \ -e RECAPTCHA_PUBLIC_KEY='${{ secrets.RECAPTCHA_PUBLIC_KEY }}' \ diff --git a/iati/settings/base.py b/iati/settings/base.py index ce1e4af3..edc182cf 100644 --- a/iati/settings/base.py +++ b/iati/settings/base.py @@ -587,7 +587,7 @@ DEFAULT_FILE_STORAGE = 'storages.backends.azure_storage.AzureStorage' STATICFILES_STORAGE = 'storages.backends.azure_storage.AzureStorage' COMPRESS_STORAGE = 'storages.backends.azure_storage.AzureStorage' - COMPRESS_URL = 'https://iatiwebsitedev.blob.core.windows.net/dev-iati-website/' + COMPRESS_URL = 'https://cdn.iatistandard.org/prod-iati-website/' # App insights